Chad Waters on 5 May 2005 16:16:10 -0000 |
On 5/5/05, roliver3@comcast.net <roliver3@comcast.net> wrote: > Hi all, > I'm new to the list and haven't been to any meetings yet but plan to in the near future. I live out in the burbs, lower bucks. I hope this is an appropriate question to ask this list. > > I have Apache 2.0.52 installed on a lap top running Fedora Core3. I use this laptop for web development and I keep all my content files e.g. html,php, perl etc on a USB jump drive. I'd like to use the USB drive as the DocumentRoot for apache. Here are the steps I took > > 1) mounted the USB drive like this: mount /dev/sdb1 /var/www/html/content (this works fine) > 2) changed the DocumentRoot directive in httpd.conf to /var/www/html/content > 3) restarted apache > > When it restarts I always get the following warning: > Starting httpd: Warning: DocumentRoot [/var/www/html/content] does not exist > > I know the mount point exist because I can cd to the content dir and see files. I've tried mounting to a different directory and creating sym links to the document root. I've added Alias directives to the httpd.conf file then referencing the Alias in the DocumentRoot but all to no avail. I know there has to be a way to do this. Any help would greatly be appreciated. > > Thanks > Rodney Hi Rodney: It looks like the problem is with Fedora's SELinux restrictions on what can be DocumentRoot. Googling -selinux apache documentroot- may point you in the right direction. I'm not experienced with selinux, so I can't just give you the quick answer. -- -Chad C Waters http://chadcwaters.com ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|