Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

How to convert Lighttpd rewrite to NGinx rewrite (1 reply)

$
0
0
Hi All,

I have a problem in convert Lighttpd rules to Nginx rewrite

This is my Lighttpd rules

"^/pthumb/([^\/]+)\/(.+)$" => "/pthumb/index.php?$1&f=$2"

And this is Nginx Rewrite converted from above Lighttpd rules

rewrite ^/pthumb/([^\/]+)\/(.+)$ /pthumb/index.php?$1&f=$2

But is not work.It very hard for me.

Please help me convert this rules.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>