logo       

Feature Request: Flexible Rewrite Rules: msg#00039

web.lighttpd

Subject: Feature Request: Flexible Rewrite Rules

Hello Everyone,

as Jan said in the thread "PRE-RELEASE: lighttpd-1.3.0-20040912-1914.tar.gz"
that we should step up and say what prevents us from using lighttpd here is
my feature request. :-)

These two lines are taken from the lighttpd documentation:

url.rewrite = ( "^/show/([0-9]+)/([0-9]+)$" => "/show.php?isdn=$1&page$2",
"^/get/([0-9]+)/([0-9]+)$" => "/get.php?isdn=$1&page$2" )

It would be nice to be able to set something like "let the request go
through" / "stop processing following rules" instead of a specific target
URL. Because if you´ve got many rewrite rules it should be faster and more
readable to, for example, have a first rule that says "all requests ending
in .jpg can go through". Think of Apache´s "[L]"-target whichs prevents that
the following rewrite rules get applied to the request.

I hope you get what I´m trying to say, otherwise please ask. :-)

Steffen




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise