出现了这样的问题:
Edit httpd.conf file, which is in /etc/httpd/conf/httpd.conf
. Add the below code.
#Options FollowSymLinksOptions Indexes FollowSymLinks Includes ExecCGIAllowOverride NoneAllow from all #Options FollowSymLinks Options Indexes FollowSymLinks Includes ExecCGI AllowOverride None Allow from all
After the line no. 555 (in my case) . Check for the file permissions and restart the server.
service httpd restart
Now, it will work . Still you are facing the same problem, disable the seLinux in /etc/selinux/config
change SELINUX=disabled
and restart the server as mentioned above and try it.
Hope this helps
原文地址: