Welcome! Log In Create A New Profile

Advanced

How to convert Lighttpd rewrite to NGinx rewrite

May 28, 2013 04:16AM
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
Subject Author Posted

How to convert Lighttpd rewrite to NGinx rewrite

kingcasino May 28, 2013 04:16AM

Re: How to convert Lighttpd rewrite to NGinx rewrite

Jonathan Matthews May 28, 2013 04:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready