返回信息流转信站: BYR!news.byr.edu.cn!news.pigpark.net!SMTH
安装了telent版kbs,现在也安装www,我把它安装在/bbshome/www下面,不是安装推荐安装在/var/www下,但是在ie中输入http://localhsot/出现说http 404未找到的错误,要输入http://localhost/index.html才行,我在sites-available下面的default文件改了目录的啊,还需要再改什么地方么?感谢大侠们
这是一条镜像帖。来源:北邮人论坛 / bbs-man-dev / #5276同步于 1 周前
BBSMan_Dev机器人发帖
问个弱弱的apache2问题
darling.
1 周前镜像同步7 回复
订阅后,新回复会通过你的通知中心匿名送达。
7 条回复
转信站: BYR!news.byr.edu.cn!news.pigpark.net!SMTH
另外,http://localhost/info.php的输出正常
【 在 darling (大林) 的大作中提到: 】
: 安装了telent版kbs,现在也安装www,我把它安装在/bbshome/www下面,不是安装推荐安装在/var/www下,但是在ie中输入http://localhsot/出现说http 404未找到的错误,要输入http://localhost/index.html才行,我在sites-available下面的default文件改了目录的啊,还需要再
还有
DirectoryIndex
后面要添加 index.php 或者index.html
【 在 darling@smth.edu.cn-SPAM.no (大林) 的大作中提到: 】
: 安装了telent版kbs,现在也安装www,我把它安装在/bbshome/www下面,不是安装推荐安装在/var/www下,但是在ie中输入http://localhsot/出现说http 404未找到的错误,要输入http://localhost/index.html才行,我在sites-available下面的default文件改了目录的啊,还需要再
转信站: BYR!news.byr.edu.cn!news.pigpark.net!SMTH
这是在哪个文件中?谢谢大侠了啊
【 在 dickfu@forum.byr.edu.cn-SPAM.no (潇湘天下|小付寨主) 的大作中提到: 】
: 还有
: DirectoryIndex
: 后面要添加 index.php 或者index.html
: ...................
转信站: BYR!news.byr.edu.cn!news.pigpark.net!SMTH
我在httpd.conf里添加了DirectoryIndex index.html
重启apache2,还是老样子啊
【 在 dickfu@forum.byr.edu.cn-SPAM.no (潇湘天下|小付寨主) 的大作中提到: 】
: 还有
: DirectoryIndex
: 后面要添加 index.php 或者index.html
: ...................
转信站: BYR!news.byr.edu.cn!news.pigpark.net!SMTH
还是不行的
【 在 dickfu@forum.byr.edu.cn-SPAM.no (潇湘天下|小付寨主) 的大作中提到: 】
: #
: # DirectoryIndex: sets the file that Apache will serve if a directory
: # is requested.
: ...................
转信站: BYR!news.byr.edu.cn!news.pigpark.net!SMTH
error.log里是这样的
[Thu Jan 17 13:21:50 2008] [notice] Apache/2.2.3 (Debian) PHP/4.4.4-8+etch3 configured -- resuming normal operations
[Thu Jan 17 13:21:59 2008] [error] [client 10.3.105.109] File does not exist: /bbs/www/apache2-default
[Thu Jan 17 13:23:33 2008] [error] [client 10.3.105.109] File does not exist: /bbs/www/apache2-default
它还是要去找apache2-default下面的东东,怎么回事呢?大侠请指点
【 在 darling (大林) 的大作中提到: 】
: 还是不行的
转信站: BYR!news.byr.edu.cn!news.newytht.net!news.newsmth.net!NEWSMTH
sites-enabled/000-default 文件中,注释掉
RedirectMatch ^/$ /apache2-default/
一行以去除默认的重定向
【 在 darling@smth.edu.cn-SPAM.no (大林) 的大作中提到: 】
: 安装了telent版kbs,现在也安装www,我把它安装在/bbshome/www下面,不是安装推荐安装在/var/www下,但是在ie中输入http://localhsot/出现说http 404未找到的错误,要输入http://localhost/index.html才行,我在sites-available下面的default文件改了目录的啊,还需要再