How to rewrite args?


#1

Hello,

I’m trying to rewrite args with NginX 0.6 to force nginx to return file
“foo.html!arg=bar” when request is “foo.html?arg=bar” (of course
actually NginX try to access to file “foo.html”).

It seems to don’t work with “rewrite”, so is it possible ?

Thanks,
Olivier


#2

In fact it works, it was an error in my regular expression.

Sorry for noise.
Olivier

Olivier B. a écrit :