[CentOS] easy httpd's problem

Timo Schoeler timo.schoeler at riscworks.net
Tue Nov 16 03:32:35 EST 2010


On 11/16/2010 09:25 AM, 49163653 wrote:
> your guys:
> I can't see the direcotry under / produced by *mkdir* command via
> Internat Explorer, except the any direcotry and file that exist after
> the CentOS installation complete.
> This is my directory 's detail information:
> drwxr-xr-x root www-data root:object_r:default_t CenterRepo
> and my httpd's configuration information:
> <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>
> I just make sure the the CenterRepo directory belong to the www-date
> group which run by httpd ,why can't I still access that directory?
> Thanks for your help!
> 2010-11-16
> ------------------------------------------------------------------------
> 49163653

Hi,

I assume your machines' SELinux is enabled:

http://wiki.centos.org/HowTos/SELinux#head-0f6390ddacfab39ee973ed8018a32212c2a02199

Cheers,

Timo


More information about the CentOS mailing list