Forum Moderators: phranque

Message Too Old, No Replies

Specifying more than one location for DocumentRoot

DocumentRoot C:/www; F:/www

         

anjanesh

9:04 am on Jun 27, 2007 (gmt 0)

10+ Year Member



Hi

Right now, I have my DocumentRoot (Apache's httpd.conf file) pointing to C:/www/htdocs.

DocumentRoot "C:/www/htdocs"

For reasons, I now want to store some of my folders in htdocs to another drive, say F:\www\htdocs.

Is there a way to point to 2 locations? Something like :
DocumentRoot "C:/www/htdocs"; "F:/www/htdocs"?

Thanks

vincevincevince

9:15 am on Jun 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to create a 'virtual directory' within your main document root - it's easy enough to do with IIS.

anjanesh

11:08 am on Jun 27, 2007 (gmt 0)

10+ Year Member



So I thought, or is it Alias [httpd.apache.org] that I got to include?