httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Rice <>
Subject [users@httpd] Q: subdomains and DocumentRoot question
Date Fri, 11 Apr 2003 20:08:31 GMT

   I have a situation where i would like to change the
the DocumentRoot of all mail.* for all the virtual domains to
point to the same place.
I've managed by doing the following:

NameVirtualHost *
UseCanonicalName Off

    DocumentRoot /var/www/html/squirrelmail

<VirtualHost *>
    ServerAlias *
    DocumentRoot /www/

Is there a way to do this with out doubling the size if my httpd.conf?
I've tried with mod_rewrite but didn't have any luck.

Any help would be appreciated.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message