rewrite all php+args to php+args.html Q?

izrodix nginx-forum at
Wed Jun 8 19:26:51 MSD 2011

Hello Nginx Gurus,
We have a local mirrored with wget web site.
All dynamic files are saved like this  "list.php?type=80.html
[*.php?some args dot html]" but in href tags are 
<a href="list.php?type=80">
How can we rewrite requested files to local html files except images,
css and js which are ok.


Posted at Nginx Forum:,205032,205032#msg-205032

More information about the nginx mailing list