社区
Apache
帖子详情
在 documentroot 目录下明明有一个index.html文件,可为什么我敲http://localhost/index.html总是说找不页面。。
showmetheway
2003-06-27 07:33:45
谁能帮我?
...全文
1558
7
打赏
收藏
在 documentroot 目录下明明有一个index.html文件,可为什么我敲http://localhost/index.html总是说找不页面。。
谁能帮我?
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
iceivy
2003-06-30
打赏
举报
回复
如果上述高手的方法你都试过并无效的话,那么请你检查一下文件的后缀名是否真的是.html
有时系统隐藏了文件的扩展名,你看到的.html后面可能还有.xxx,删除即可。
showmetheway
2003-06-30
打赏
举报
回复
还在讨论啊?
难道各位没有看到我的回答吗?
showmetheway(雪儿甜心)
“重起以后,问题解决”
AthlonxpX86
2003-06-30
打赏
举报
回复
你应该试试停止服务,然后从新启动服务,我以前也遇到过类似的问题
hotsmile
2003-06-30
打赏
举报
回复
app-dir 有没有设置正确?
showmetheway
2003-06-27
打赏
举报
回复
重起以后,问题解决
showmetheway
2003-06-27
打赏
举报
回复
当然启动了。。
yophoo
2003-06-27
打赏
举报
回复
apache服务器没启动?
如何访问根
目录
下的
目录
http
://192.168.1.12/test/ 网站显示
文件
目录
资源
如何访问根
目录
下的
目录
http
://192.168.1.12/test/ 第一.缺省apache不允许访问
http
目录
(没有定义,就没有访 问权限) 访问
目录
http
://192.168.1.12/test/ 会显示: Forbidden You don’t have permission to access ...
wampserver将
http
://
localhost
:8000/变为bishe.test
现在,当你访问
http
://
localhost
:8000/时,应该会显示你的站点。打开记事本(或其他文本编辑器)以管理员身份运行,然后打开。打开WampServer的安装
目录
,
找
到。保存
文件
并关闭文本编辑器。保存
文件
并关闭文本编辑器...
macOS -- 为什么XAMPP启动后输
localhost
跳转到
http
://
localhost
/dashboard?
在XAMPP环境下,当我们在地址栏输入‘
localhost
’的时候,进入的不是htdocs根
目录
下,...这是因为在xamppfiles/htdocs下有
一个
index
.php
文件
index
.php <?php if (!empty($_SERVER['
HTTP
S']) && ('on...
本地创建node服务器请求本地静态资源防止跨域
浏览器输入
http
://
localhost
:8888/
index
.
html
即可访问 // server.js let
http
= require('
http
'); let fs = require('fs');//引入
文件
读取模块 let
document
Root
= 'D:/课程资料/code/所有代码(汇总)/tech/ch09/...
etc
http
d conf.d php.conf,Apache的主配置
文件
:/etc/
http
d/conf/
http
d.conf
Apache的主配置
文件
:/etc/
http
d/conf/
http
d.conf默认站点主
目录
:/var/www/
html
/Apache服务器的配置信息全部存储在主配置
文件
/etc/
http
d/conf/
http
d.conf中,这个
文件
中的内容非常多,用wc命令统计一共有1009行,...
Apache
24,923
社区成员
16,544
社区内容
发帖
与我相关
我的任务
Apache
Web 开发 Apache
复制链接
扫一扫
分享
社区描述
Web 开发 Apache
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章