Re: Apache Config - how to make a directory accessable ? (SOLVED)

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

 



On Tuesday 07 April 2009 14:38:23 max bianco wrote:
> On Tue, Apr 7, 2009 at 4:26 PM, Uwe Kiewel <ml@xxxxxxxxxxxxxxxx> wrote:
> > max bianco wrote:
> >> On Tue, Apr 7, 2009 at 4:16 PM, Kevin Kempter <kevin@xxxxxxxxxxxxxxxxxxx> wrote:
> >>> On Tuesday 07 April 2009 14:05:49 Uwe Kiewel wrote:
> >>>> 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
> >>>
> >>> [Tue Apr 07 14:15:31 2009] [error] [client 127.0.0.1] (13)Permission
> >>> denied: access to /csweb/ denied
> >>
> >> SELinux?
> >
> > Good hint, Max.
> >
> > e.g. dmesg might show this
>
> SELinux stores its logs in : /var/log/audit/audit.log
>
> ausearch is the best tool to search this from the CLI or use the
> graphical audit log analysis tools.
> --
> "Any fool can know. The point is to understand."
>
> -Albert Einstein
>
> Bored??
> http://fiction.wikia.com/wiki/Fuqwit1.0
>
> http://fiction.wikia.com/wiki/Coding_the_Magic_into_the_Eight_Ball


SELinux was in fact the issue !


Thanks for your help

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux