[CentOS] easy httpd's problem
Leonard den Ottolander
leonard at den.ottolander.nlWed Nov 17 11:14:11 UTC 2010
- Previous message: [CentOS] easy httpd's problem
- Next message: [CentOS] Disk operations very slow on Lenovo Thinkcentre
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. -- mount -t life -o ro /dev/dna /genetic/research
- Previous message: [CentOS] easy httpd's problem
- Next message: [CentOS] Disk operations very slow on Lenovo Thinkcentre
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list