httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Piu <>
Subject [users@httpd] ->
Date Mon, 12 Nov 2007 16:46:19 GMT

I am new to this forum (found it via Google). Please forgive that I  
just snow in like that, but I have a rewrite problem, which  
a .htaccess Guru can maybe solve in a few minutes. - I wasted already  
some days, but it still doesn't work.

Want I want to do is the following:

If someone accesses he shall be redirected to

Similarly, all accesses under the subdomain shall be redirected, too,  
e. g. should retrieve http://

The subdomain entry should remain in the URL field of the browser, i.  
e. the redirect should be "hidden".

The reason why I need this, is that, when I create a user web/FTP  
account, the URL to it is, and I would  
like to assign a subdomain to them.

Let me give you the background of the directory structure: points to the path:
/home/www/web12/web points to the path:
and should points to the same path.

So basically, the .htaccess file would have to direct HTTP file  
accesses* to*  

But as the entry in the URL field in the browser shall not change,  
one would have to work with the paths, if I understand it correctly?

Does somebody know a solution to this problem (rewrite condition &  
rewrite rule)? I'd hang his picture up in my living room.

Kind regards,


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