各位大侠, 一个apache module开发的应用 我把DocumentRoot的index forbidden掉了,因为我的应用不会发起http://localhost/ 的request 然而error log里却大面积的出现连续的 [error] [client 127.0.0.1] directory index forbidden by options directive: /www/html/ /www/html/ 是DocumentRoot 请问是哪里配置错了。 或者怎么样能追踪到这是什么进程发起的request么? 谢谢!
by IAMTOP1982 - 服务器应用 - 2008-11-18 09:01:15 阅读(5634) 回复(1)
forbidden You don't have permission to access /index.php on this server. vi /usr/local/apache2/conf/httpd.conf 修改了路径后就这样了.找了很多资料都没有解决. 希望高手指点指点 已经把该目录的权限都赋给了apache chown -R apache /home/qinjian/wwwroot chown -R apache /home/qinjian/wwwroot/ chgrp -R apache /home/qinjian/wwwroot chmod 755 /home/qinjian/wwwroot 用开始自带的默认用户启动APACHE 没有问题 ...
我是一个 linux 菜鸟, 第一次接触. 我有一台独立主机在USA, OS 为 linux redhat 9, 安装过程是根据下面的教程来安装的: http://www.myitc.net/index.php?option=com_content&task=view&id=59&Itemid=47 server.conf 和 client.conf 的配置亦是照上面的样例配置. 但是启动 server 上的 openvpn 时, 会出现这个错误: options error: --server directive network/netmask combination is invalid 从提示看, 应该是 server 的 ...
运行程序的时候出现了以下错误。 ArcInfo input file "Linkmap" error warning: Illegal index in LinkNeighbors: (0,13):0(0) warning: Illegal index in LinkNeighbors: (0,14):0(0) warning: Illegal index in LinkNeighbors: (1,13):0(0) warning: Illegal index in LinkNeighbors: (1,14):0(0) 下面的代码包含了对错误信息的提示,if( !GMR(rr,rc,il) ) { sprintf(gMsgStr,"Illegal index in LinkNeighbors: (%d,%...
bash-2.05b# make index Generating index - please wait.. "Makefile", line 57: warning: String comparison operator should be either == or != "Makefile", line 57: Malformed conditional ((${OSVERSION} < 503001 && ${OSVERSIO N} >;= 500000) || (${OSVERSION} <= 492000)) "Makefile", line 57: Missing dependency operator "Makefile", line 59: if-less endif "Makefile", line 59: Need an operator "/usr/ports/ed...
$domain=$_SERVER['HTTP_HOST']; echo $domain; ?> PHP Notice: Undefined index: HTTP_HOST in /var/www/html/index.php on line 2 php index.php 也能看到 问题是 'HTTP_HOST' 确实存在这个而且 $domain也正常取到了值(网页访问能看值) 为什么还会提示Undefined index?? [ 本帖最后由 sbyond 于 2007-12-7 13:03 编辑 ]
系统: Tru64-Unix v5.1 gcc:2.97-tru64-010710 编译程序的时候提示: Invalid .stabs/.stabn directive 这个gcc版本不是我自己安装的,所以不知道是否是那个设置错误,那位高手知道,请指点一下。 不胜感激。
我使用的操作系统是Centos Linux beta 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux apache是最新的httpd-2.2.9 在不加参数时,能通过编译,而且不会有任何错误。 但是在我加了 ./configure --disable-authn-file --disable-authn-default --disable-authz-host --disable-authz-groupfile --disable-authz-user --disable-authz-default --disable-auth-basic --disable-include --disable-f...
我的系统 qmail+mysql+vpopmail: 在日志中总是有这行,好像每10秒一次,请问这是为何? Mar 10 14:24:39 QmailServer splogger: 1078899879.423908 tcpserver: status: 1/100 Mar 10 14:24:39 QmailServer splogger: 1078899879.424399 tcpserver: pid 14885 from 192.168.54.231 Mar 10 14:24:39 QmailServer splogger: 1078899879.424529 tcpserver: ok 14885 ladder.cn:192.168.200.10:110 :192.168.54.231::2878 Mar 10 14:24:...
www# make index Generating index-5 - please wait..===>; archivers/unadf failed: unadf-0.7.9b_1|/usr/ports/archivers/unadf|/usr/local|Extracts files from .adf-files used by Amiga emulators|/usr/ports/archivers/unadf/pkg-descr|wigren@home.se|archivers|/usr/ports/archivers/unzip||http://perso.club-internet.fr/lclevy/adflib/unadf.html *** Error code 1 ===>; astro/wmsolar failed: wmsolar-1.0_1|/usr/por...
个人在根目录下新建了目录myweb做测试,用于DocumentRoot,里面存放了在安装目录下的htdocs里的所有文件,我拷贝过去的,目录和文件权限为755,并且httpd_user_content_t(不过当前情况下我的SELinux关闭掉了,这个属性存在与否应该也就无所谓了),而且没有防火墙设置,/myweb/目录及其下所有文件组:所有者为nobody:nobody。 对httpd.conf我修改了以下几个参数: DocumentRoot "/myweb/" User nobody Group nobody directoryI...