Apache Config - how to make a directory accessable ?

Uwe Kiewel ml at kiewel-online.ch
Tue Apr 7 20:05:49 UTC 2009


Kevin Kempter wrote:
> On Tuesday 07 April 2009 13:24:00 Uwe Kiewel wrote:
>> Kevin Kempter wrote:
>> > Hi All;
>> >
>> >
>> > I have a laptop running Fedora10 x86_64.
>> >
>> > I started the default config and I can go to http://localhost and I see
>> > the expected Fedora Test Page.
>> >
>> > I want to install a web site in /stage/webpages/csweb (/stage is a
>> > separate file system) so I did this:
>> >
>> > 1) I checked to make sure the httpd.conf file was including the conf.d/*
>> > files with this line in the httpd.conf file:
>> >
>> > Include conf.d/*.conf
>> >
>> >
>> > 2) I added this file (named csweb.conf) to the /etc/httpd/conf.d
>> > directory:
>> >
>> > #
>> > # Setup directory: /stage/webpages/csweb
>>
>> Is that directory readable by the webserver? In that case I talk about
>> file system permissions.
>>
>>
>> THT,
>> Uwe
> 
> 
> Here's the file system perms:
> 
> 
> /stage:
> (ls -l / | grep stage)
> drwxrwxrwx 18 root root 4096 2009-04-07 10:45 stage
> 
> 
> /stage/webpages
> (ls -l /stage | grep webpages)
> drwxrwxr-x 4 kkempter kkempter 4096 2009-04-07 10:46 webpages
> 
> 
> /stage/webpages/csweb
> (ls -l /stage/webpages | grep csweb)
> drwxrwxr-x 17 kkempter kkempter 4096 2009-04-07 12:41 csweb
> 


What does the error_log say?

/var/log/httpd/error_log


HTH,
	Uwe




More information about the fedora-list mailing list