Actions
Bug #1553
closedRedirect from subdomain to another doesn`t work
ASK QUESTIONS IN Forums:
Description
Hello,
I very new and my english is not very good but I hope I can explain the problem and you can help me.
I wants to redirect subdomain.domain.de to www.anotherdomain.de/123
I tryed the following:
$HTTP“host“ == “subdomain.domain.de“ {
url.redirect = („.^/subdomain.domain.de“ => „http://www.anotherdomain.de/123“)}
but it doesnt work. Only this subdomain shoult be redirected to another domain, not other subdomains or the main domain.
Kind regards
S. Happel
-- SHappel
Updated by Anonymous almost 17 years ago
Not a bug, use something like this instead:
$HTTP["host"] =~ "subdomain.domain.de" { url.redirect = ( "^/(.*)" => "http://www.anotherdomain.de/123" ) }
Updated by stbuehler almost 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
And btw, this is not a support forum.
Actions
Also available in: Atom