[CentOS] easy httpd's problem

49163653 49163653 at qq.com
Wed Nov 17 05:32:28 EST 2010


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!

2010-11-17 



49163653 



发件人: Jussi Hirvi 
发送时间: 2010-11-17  16:26:39 
收件人: CentOS mailing list 
抄送: 
主题: Re: [CentOS] easy httpd's problem 
 
On 16.11.2010 10.25, 49163653 wrote:
> <VirtualHost *:80>
>      ServerAdmin gitserver
>      DocumentRoot /
>      <Directory />
>          Options Indexes FollowSymLinks includes
>          order allow,deny
>          AllowOverride None
>          allow from all
>      </Directory>
>      ServerName dummy-host.example.com
>      ErrorLog logs/dummy-host.example.com-error_log
>      CustomLog logs/dummy-host.example.com-access_log common
> </VirtualHost>
You are publishing your entire machine through httpd. Is that really 
what you want?
- Jussi
-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20101117/f2987a8f/attachment.html 


More information about the CentOS mailing list