another rewrite problem

meal nginx-forum at nginx.us
Thu Jul 23 19:03:32 MSD 2009


I've got address like http://profil.domain.tld/profil,ID,username.html  

And  rewrite rule like this:

rewrite ^/profil,([0-9]+)(,.*).html$ /profil.html?aId=showuser&uId=$1 last;

Ofc, I've enabled  debug log to see what location it use, and it's using ~ \.html$ (which are FastCGI parsed php files).

The problem is, that it is looking for file profil,any_number,username.html  in root directory.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4391,4391#msg-4391






More information about the nginx mailing list