I'd like to rewrite /abc/abcd.png to /red/blue.php

How is that possible in Lighttpd?


url.rewrite("^/abc/abcd.png$" => "/red/blue.php")

check out the lighttpd docs for more info http://redmine.lighttpd.net/wiki/1/Docs:ModRewrite

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.