Re: lighttpd redirect rules
On Mon, 19 Jul 2010 17:50:29 +0800, nzsell wrote:
>> Does this help?
>>
>> http://redmine.lighttpd.net/projects/lighttpd/wiki/HowToRedirectWww
> doesn't help much.
> I've read that before, but still can't figure out.
Uh. You mean this is not working for you?
***
$HTTP["host"] == "abc123.example.com" {
url.redirect = (
"^/(.*)" => "http://www.example.com/pages/page.php?u=abc123",
)
}
***
If no, review the logs, the modules being loaded (redirect) and your
virtual domain setup. Or just try with a simple redirection (one file to
another under same host, same root path) to check it's working fine.
Greetings,
--
Camaleón
Reply to: