httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Rewriting HTTP_HOST to directories
Date Fri, 10 Feb 2006 21:00:31 GMT
On 2/10/06, Mike Z <> wrote:
> Good afternoon,
>     After reading through the mod_rewrite and rewrite guide docs and
> tinkering with things a bit, I have to admit I'm still in the dark. Here
> is what I'm attempting to do:
> I'm setting up service to offer domain names to users on a free web
> hosting service. Currently, when a user signs up with the free service,
> they receive a subdirectory on our site, in the form of
> /var/www/html/ As doing virtual hosts for all the
> potential users is impractical, and the mass virtual hosting can't
> translate into this directory structure, I'd like to use a RewriteMap to
> translate domains to these directories, e.g.
>   /var/www/html/
> Can someone provide me with a bit of help as to how to accomplish this?

Your problem is not well-specified.  How is apache supposed to know the user?


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