lnmpa升级以后apache配置问题
请问装好lnmpa以后 执行 /etc/int.d/httpd status 显示:Access forbidden!
You don't have permission to access the requested object. It is either
read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Tue Aug 9 12:37:08 2011
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17
是不是正常的?如果不是,怎么解决? 这一个是你APACHE里面使用的是WWW的用户,而文件夹里面没有附于WWW读取APACHE的权限。。 看这一个英文就知道,访问被拒绝。你没有被授予访问请求对象的权限。。 可能是apache上和nginx上帮的域名不一样
我错了,没有用好搜索功能!!!!
搜索到以前的帖子上面有这个问题的解决方法,我开始没看到,已经解决了。不过,还是谢谢yuweitaocn
解决地址贴出来,方便以后出现同样问题的朋友https://bbs.vpser.net/viewthread.php?tid=2858&highlight=lnmpa
回复 4# 的帖子
军哥帮忙看下,我按照上面帖子的方法apache正常显示了,是不是算是解决了?还是按你说的 N A 上面绑定域名不一样?贴出来现在的httpd status:
Apache Server Status for localhost
Server Version: Apache/2.2.17 (Unix) mod_ssl/2.2.17
OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17
Server Built: Aug 8 2011 14:02:31
_________________________________________________________________
Current Time: Tuesday, 09-Aug-2011 13:16:18 CST
Restart Time: Tuesday, 09-Aug-2011 13:03:08 CST
Parent Server Generation: 0
Server uptime: 13 minutes 10 seconds
1 requests currently being processed, 5 idle workers
W_____..........................................................
................................................................
................................................................
................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
还有个问题,军哥,跟你的QQ发信息怎么都没有回复呢?是不是太忙了?:loveliness:
[ 本帖最后由 zjeanz 于 2011-8-9 13:17 编辑 ] 能正常显示就行了
QQ只提供代购等相关付费业务,所有lnmp相关的支持服务均只能在论坛。
回复 7# 的帖子
:lol :lol :lol :lol[ 本帖最后由 zjeanz 于 2011-8-9 13:57 编辑 ]
页:
[1]