Welcome! Log In Create A New Profile

Advanced

Apache to nginx redirects

Posted by BamaStangGuy 
Apache to nginx redirects
October 16, 2013 06:15PM
Hi,

I have the following apache redirects inside a folder called /vb/

I need to now convert them to nginx so that they still work.

RewriteRule f[\d]+/.+-([\d]+)/index([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule f[\d]+/.+-([\d]+)/ showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)/index([\d]+).html forumdisplay.php?f=$1&page=$2 [NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]

What would be the best way to replicate this so that those redirects above still work?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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