Welcome! Log In Create A New Profile

Advanced

Simple Apache Rewrite to nginx - im stuck

Posted by flyersa 
Simple Apache Rewrite to nginx - im stuck
May 04, 2012 10:47AM
Hi all,

after several tries now im stuck as i just seem to suck at this stuff., Can someone help to get this rewrites to work?


Apache:

RewriteRule ^([^/]*)$ /index.php?section=$1 [L]
RewriteRule ^([^/]*)/([^/]*)$ /index.php?section=$1&id=$2 [L]
RewriteRule ^([^/]*)/page/([^/]*)$ /index.php?section=$1&page=$2 [L]
RewriteRule ^([^/]*)/([^/]*)/([^/]*)$ /index.php?section=$1&id=$2&id2=$3 [L]

need them for nginx, seems simple but my head just keeps exploding :(
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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