VPS侦探论坛

 找回密码
 注册
查看: 7201|回复: 6

军哥,救命呀。lnmpa用不了呀!!!!!!!

[复制链接]
发表于 2011-11-7 23:15:06 | 显示全部楼层 |阅读模式

我按照你说的装的lamp,然后执行./apache.sh安装apache。安装完打开网站就变成这样了,怎么解决呀?
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404
www.taotao44.info
Mon Nov 7 22:49:09 2011
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17

而且使用/etc/init.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 [1]webmaster.

Error 403


    [2]localhost
    Mon Nov 7 23:13:52 2011
    Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17

References

   1. mailto:zdl474038463@163.com
怎么解决呀?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-11-8 08:05:52 | 显示全部楼层


没什么错误,只不过你目录下没index 文件而已。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-11-8 08:13:16 | 显示全部楼层

有呀。index。html。而且所有网站都是这个错误。网站都有内容。我还把权限设成了777了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-11-8 08:18:20 | 显示全部楼层



这3个页面都正常。探针 phpinfo phpMyAdmin,其他的所有页面都不能访问。而且我执行这条命令/etc/init.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 [1]webmaster.

Error 403


    [2]localhost
    Mon Nov 7 23:13:52 2011
    Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17

References

   1. mailto:zdl474038463@163.com
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-11-8 14:19:54 | 显示全部楼层

探针 phpinfo phpMyAdmin 没问题,那可能就是你添加的虚拟主机的配置有问题

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2011-11-8 22:29:52 | 显示全部楼层

军哥,麻烦你看看我的虚拟主机的配置文件吧


我又重新安装了一次。这次.txt,.html的文件可以访问。
探针 phpinfo phpMyAdmin这3个网页能正常访问。但是其他所有的.php和index.html不能访问。我已经在网站的根目录下放了index.html,12.php  12.txt  23.txt  q.html文件了。12.php的不能访问,index.html不能访问,访问的是默认的主页。其他这3个文件12.txt  23.txt  q.html都能正常访问。这是怎么回事呀。而且一执行指令就出现错误:
[root@258847 vhost]# /etc/init.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 [1]webmaster.
Error 403
[2]localhost
    Tue Nov 8 22:28:14 2011
    Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17
References
1. mailto:zdl474038463@163.com
   2. http://localhost/

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2011-12-24 22:01:30 | 显示全部楼层

我也出现了 唉  不知道怎么的?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 22:44 , Processed in 0.027924 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表