Rewrite with apostrophe causes 404

st1905 nginx-forum at nginx.us
Mon May 24 00:47:49 MSD 2010


Hello,

videos/1432/so-it/'s-ok-karyn-garcia

above causes 404 

if i manually edit the url to videos/1432/so-it's-ok-karyn-garcia  it works

Here is the rewrite rule

rewrite ^/videos/([^/]*)/([^/]*)$ /play.php?vid=$1 last;

Can you tell me how can i fix this ?

Thanks.

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




More information about the nginx mailing list