httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Krueger <benja...@seattlefenix.net>
Subject Re: [users@httpd] url redirect
Date Tue, 18 Mar 2003 01:05:29 GMT
* Furesz Peter (the_coder@freemail.hu) [030317 16:38]:
> Hi!
> 
> I would like to make redirection with the following rule.
> Every http://username.mydomain.com request to
> http://www.mydomain.com/site.php?user_site=username.mydomain.com
> But I serving more domains, it is important, that just the mydomain.com URLs
> redirect
> How can I do this?
> Thank you for your helps,
> Peter

You can set rewrite rules on a per domain basis. Just put the rules inside the
configuration section for the domain in question.

-- 
Benjamin Krueger

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message