Welcome! Log In Create A New Profile

Advanced

Problem re-write

Posted by g0nes03 
Problem re-write
February 20, 2012 12:46PM
Hello

I encountered a lot problem with re-write for my CMS
the admiistration area use RE-WRITE and it's not work on nginx server



I need help in order to convert the .hatcces for nginx server
this is the front end .hatccess

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^*]+)?$ index.php?rewrite_path=$1&%{QUERY_STRING} [L]

and
nginx WORKING VERSION

rewrite ^/([^*]+)?$ /index.php?rewrite_path=$1 last;

---------------------------------
this is the BACKEND .htaccess

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^*]+)?$ controller.php?rewrite_path=$1&%{QUERY_STRING} [L]


PLEASE HELP ME with the right nginx file for Back-end

thank you
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 260
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready