On Sun, May 23, 2010 at 04:47:49PM -0400, st1905 wrote:
> 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 ?
location = /videos/1432/so-it/'s-ok-karyn-garcia {
fastcgi_pass ...
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /path/to/play.php;
fastcgi_param QUERY_STRING vid=1432/so-it/'s-ok-karyn-garcia;
}
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx