Forum Moderators: phranque

Message Too Old, No Replies

VirtualDocumentRoot

More than One

         

gb_dev

9:32 pm on Apr 6, 2006 (gmt 0)

10+ Year Member




Is it possible to have more than one VirtualDocumentRoot statement in httpd.conf?

ex.
VirtualDocumentRoot /vhost2/%0
VirtualDocumentRoot /data21/%0

From my tests, I'm going to say no...
Here's hoping I'm wrong :)

ChadSEO

10:00 pm on Apr 6, 2006 (gmt 0)

10+ Year Member



gb_dev,

Apache will only recognize one VirtualDocumentRoot, I can't see how it would support two - it needs to know where to look for the files. What are you trying to do that you want two?

Chad

gb_dev

10:04 pm on Apr 6, 2006 (gmt 0)

10+ Year Member



Basically I have those 2 dirs FULL of symlinks and was hoping I wouldn't have to make 1 massive dir full of symlinks and change all my vhost creation scripts.