On Wed, 2010-11-17 at 18:32 +0800, 49163653 wrote:
This is just for test,not for the serious situation! And I just find the solution to my problem yesterday. The reason is that the selinux on my CentOS prevent httpd from visiting file. Issus will be fine after I change the file's context label via chcon.May be this can be useful to you!
You should rather fix your docroot to use /var/www/html. That way you wont even stumble into these selinux restrictions. You shouldn't relabel your whole system to "fix" your poor configuration, even on a test system.
Regards, Leonard.