Forum: NGINX how to rewrite args ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Olivier B. (Guest)
on 2009-03-30 15:33
(Received via mailing list)
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
Olivier B. (Guest)
on 2009-03-30 16:10
(Received via mailing list)
In fact it works, it was an error in my regular expression.

Sorry for noise.
Olivier

Olivier B. a écrit :
This topic is locked and can not be replied to.