lighttpd forum migration > apache redirect to lighttpd

Posted by comforteagle (Guest)
on 24.10.2007 18:34
What is the equivalent in lighttpd of apache redirect rule:
RedirectMatch ^/stuff\.(.*) http://example.com/$1
Posted by Jan Scholten
on 30.10.2007 10:37
comforteagle wrote:
> What is the equivalent in lighttpd of apache redirect rule:
> RedirectMatch ^/stuff\.(.*) http://example.com/$1

Something like:
url.redirect = (
        "^/stuff\.(.*)" => "http://example.com/$1"
 )

(just guessed. But should be pretty straight forward. read docs if 
unsure!)
Posted by comforteagle (Guest)
on 30.10.2007 13:09
Jan Scholten wrote:
> comforteagle wrote:
>> What is the equivalent in lighttpd of apache redirect rule:
>> RedirectMatch ^/stuff\.(.*) http://example.com/$1
> 
> Something like:
> url.redirect = (
>         "^/stuff\.(.*)" => "http://example.com/$1"
>  )
> 
> (just guessed. But should be pretty straight forward. read docs if 
> unsure!)

I thought that would work as well, but it doesn't.