Welcome! Log In Create A New Profile


Nginx + rewrite

Posted by Godfather 
Nginx + rewrite
November 05, 2011 01:55PM

looking for help, if anyone can help me rewrite:

I have .htaccess

SetEnv PHP_VER 5

Options +FollowSymLinks

<IfModule mod_rewrite.c>
RewriteEngine On

# Profile Show #
RewriteRule ^profile_show,(.*),(.*),nb.html?$ index.php?act=profile_show&user=$1&step=$2&no_body=1 [NC]
RewriteRule ^profile_show,(.*)-(.*),(.*).html?$ index.php?act=profile_show&user=$1&step=$3 [NC]
RewriteRule ^profile_show,(.*)-(.*).html?$ index.php?act=profile_show&user=$1 [NC]

# Other #
RewriteRule ^(.*),(.*),(.*),(.*),nb.html?$ index.php?act=$1&step=$2&add=$3&add2=$4&no_body=1 [NC]
RewriteRule ^(.*),(.*),(.*),nb.html?$ index.php?act=$1&step=$2&add=$3&no_body=1 [NC]
RewriteRule ^(.*),(.*),nb.html?$ index.php?act=$1&step=$2&no_body=1 [NC]
RewriteRule ^(.*),(.*),(.*).html?$ index.php?act=$1&step=$2&add=$3 [NC]
RewriteRule ^(.*),(.*).html?$ index.php?act=$1&step=$2 [NC]
RewriteRule ^(.*).html?$ index.php?act=$1 [NC]
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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