<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:8pt; font-weight:400; font-style:normal;">On Tuesday 07 April 2009 14:38:23 max bianco wrote:<br>
> On Tue, Apr 7, 2009 at 4:26 PM, Uwe Kiewel <ml@kiewel-online.ch> wrote:<br>
> > max bianco wrote:<br>
> >> On Tue, Apr 7, 2009 at 4:16 PM, Kevin Kempter <kevin@kevinkempterllc.com> wrote:<br>
> >>> On Tuesday 07 April 2009 14:05:49 Uwe Kiewel wrote:<br>
> >>>> Kevin Kempter wrote:<br>
> >>>>> On Tuesday 07 April 2009 13:24:00 Uwe Kiewel wrote:<br>
> >>>>>> Kevin Kempter wrote:<br>
> >>>>>>> Hi All;<br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>> I have a laptop running Fedora10 x86_64.<br>
> >>>>>>><br>
> >>>>>>> I started the default config and I can go to http://localhost and I<br>
> >>>>>>> see the expected Fedora Test Page.<br>
> >>>>>>><br>
> >>>>>>> I want to install a web site in /stage/webpages/csweb (/stage is a<br>
> >>>>>>> separate file system) so I did this:<br>
> >>>>>>><br>
> >>>>>>> 1) I checked to make sure the httpd.conf file was including the<br>
> >>>>>>> conf.d/* files with this line in the httpd.conf file:<br>
> >>>>>>><br>
> >>>>>>> Include conf.d/*.conf<br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>> 2) I added this file (named csweb.conf) to the /etc/httpd/conf.d<br>
> >>>>>>> directory:<br>
> >>>>>>><br>
> >>>>>>> #<br>
> >>>>>>> # Setup directory: /stage/webpages/csweb<br>
> >>>>>><br>
> >>>>>> Is that directory readable by the webserver? In that case I talk<br>
> >>>>>> about file system permissions.<br>
> >>>>>><br>
> >>>>>><br>
> >>>>>> THT,<br>
> >>>>>> Uwe<br>
> >>>>><br>
> >>>>> Here's the file system perms:<br>
> >>>>><br>
> >>>>><br>
> >>>>> /stage:<br>
> >>>>> (ls -l / | grep stage)<br>
> >>>>> drwxrwxrwx 18 root root 4096 2009-04-07 10:45 stage<br>
> >>>>><br>
> >>>>><br>
> >>>>> /stage/webpages<br>
> >>>>> (ls -l /stage | grep webpages)<br>
> >>>>> drwxrwxr-x 4 kkempter kkempter 4096 2009-04-07 10:46 webpages<br>
> >>>>><br>
> >>>>><br>
> >>>>> /stage/webpages/csweb<br>
> >>>>> (ls -l /stage/webpages | grep csweb)<br>
> >>>>> drwxrwxr-x 17 kkempter kkempter 4096 2009-04-07 12:41 csweb<br>
> >>>><br>
> >>>> What does the error_log say?<br>
> >>>><br>
> >>>> /var/log/httpd/error_log<br>
> >>>><br>
> >>>><br>
> >>>> HTH,<br>
> >>>> Uwe<br>
> >>><br>
> >>> [Tue Apr 07 14:15:31 2009] [error] [client 127.0.0.1] (13)Permission<br>
> >>> denied: access to /csweb/ denied<br>
> >><br>
> >> SELinux?<br>
> ><br>
> > Good hint, Max.<br>
> ><br>
> > e.g. dmesg might show this<br>
><br>
> SELinux stores its logs in : /var/log/audit/audit.log<br>
><br>
> ausearch is the best tool to search this from the CLI or use the<br>
> graphical audit log analysis tools.<br>
> --<br>
> "Any fool can know. The point is to understand."<br>
><br>
> -Albert Einstein<br>
><br>
> Bored??<br>
> http://fiction.wikia.com/wiki/Fuqwit1.0<br>
><br>
> http://fiction.wikia.com/wiki/Coding_the_Magic_into_the_Eight_Ball<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>SELinux was in fact the issue !<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks for your help </p></body></html>