[thelist] Site Root & Document Root
Hassan Schroeder
hassan@webtuitive.com
Tue Jul 3 18:07:52 2001
"Marcus J. Coles" wrote:
> all I want to be able to do is:
/* if I understand correctly */
: have multiple "document roots" on one (local) machine.
Apache's Named Virtual Server facility is your friend :-)
You can have your regular machine name point to one document root
for administrivia
http://squalor/somesite.com/users/
http://squalor/somesite.com/logs/
while
http://misery/
has the somesite.com/web/ directory as root ...
Even works on Win*, just add the alternate name(s) to your hosts file
(W2K = /winnt/system32/drivers/etc/hosts), add the virtual server(s)
to your httpd.conf file, restart Apache, and away you go ...
HTH!
--
H*
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ---(+1) 408-938-0567 --- http://www.webtuitive.com
-- creating dynamic Web sites and applications since 1994 --