zdl474038463 发表于 2011-11-7 23:15:06

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

我按照你说的装的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 webmaster.

Error 403


    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
怎么解决呀?

licess 发表于 2011-11-8 08:05:52

没什么错误,只不过你目录下没index 文件而已。

zdl474038463 发表于 2011-11-8 08:13:16

有呀。index。html。而且所有网站都是这个错误。网站都有内容。我还把权限设成了777了

zdl474038463 发表于 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 webmaster.

Error 403


    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

licess 发表于 2011-11-8 14:19:54

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

zdl474038463 发表于 2011-11-8 22:29:52

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

我又重新安装了一次。这次.txt,.html的文件可以访问。
探针 phpinfo phpMyAdmin这3个网页能正常访问。但是其他所有的.php和index.html不能访问。我已经在网站的根目录下放了index.html,12.php12.txt23.txtq.html文件了。12.php的不能访问,index.html不能访问,访问的是默认的主页。其他这3个文件12.txt23.txtq.html都能正常访问。这是怎么回事呀。而且一执行指令就出现错误:
# /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 webmaster.
Error 403
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/

thinkfor 发表于 2011-12-24 22:01:30

我也出现了 唉不知道怎么的?
页: [1]
查看完整版本: 军哥,救命呀。lnmpa用不了呀!!!!!!!