Welcome! Log In Create A New Profile

Advanced

How to convert Lighttpd rewrite to NGinx rewrite

Posted by kingcasino 
How to convert Lighttpd rewrite to NGinx rewrite
May 27, 2013 03:26AM
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 82
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