[ale] Document Root

Jim Popovitch jimpop at yahoo.com
Mon Mar 27 17:48:11 EST 2006


Sure,

Just add an "alias" section in each virtual host section that points to 
the common area.

VHost A:
   alias /microsoft /var/www/htdocs/borg

VHost B:
   alias /msn /var/www/htdocs/borg

When someone from www.vhostA.com accesses www.vhostA.com/microsoft/ they 
will be accessing the same content as someone accessing www.vhostB.com/msn/

Hth, ;-)

-Jim P.

Terry Bailey wrote:
> 
> If you are running virtual hosts on a web server where each virtual host 
> has it's own document root, is it possible to set up a common area using 
> httpd.conf so that this area can be accessed by all virtual hosts?
> 
> Thanks,
> 
> Terry Bailey
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 



More information about the Ale mailing list