logo       

Re: Semantic problems with mod_rewrite and [F]CGI scripts.: msg#00078

web.lighttpd

Subject: Re: Semantic problems with mod_rewrite and [F]CGI scripts.

Am Freitag, 17. September 2004 19:07 schrieb Aredridel:
> [...]
>
> Apache (and I'm hardly arguing that what Apache does is right) puts the
> original URI in REQUEST_URI, and the docs for other apache modules hint
> that it should put the rewritten in REDIRECT_URI (or vice versa). In
> practice, it puts the original in the REDIRECT_URI, too.

I want to second this request. Although I think it could be worked around by
using the following rewrite rule

url.rewrite = ( "^(.*)/$" => "/index.php?x=$1" )

and patching the application (PHP script or the like) to extract the original
URI fromt he rewritten URI it would be nice to match Apache´s behaviour.

Steffen




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

News | FAQ | advertise