Rewrite obfuscated

Aleksandar Lazic al-nginx at none.at
Thu Jan 17 16:59:03 MSK 2008


Hi Matteo,

On Mit 16.01.2008 16:34, Matteo Niccoli wrote:
> Hi all,
>
> I need help with nginx rewrite. Basically, I need to write a rewrite
> like this:
>
> location /try/ {
> 	rewrite ^(.*)$ http://www.foo.com/index.php=?1 last;
> }
>
> But, if it's possible, without rewrite the url on browser, but simple
> pass the $1 to the replacement string, without change the URL.

Similar to apaches rewrite rule 'passthrough'

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule

> It's possible? thanks!

AFAIK not yet.

Cheers

Aleks





More information about the nginx mailing list