|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
[PLUG] USB mount as Apache DocumentRoot
|
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
___________________________________________________________________________
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
|
|