Re: easy httpd's problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 
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@xxxxxxxxxxxx * http://www.greenspot.fi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux