Welcome! Log In Create A New Profile

Advanced

Help with new mod rewrite

Posted by skynetp 
Help with new mod rewrite
June 04, 2011 08:22AM
Hi i have some problems to change htaccess to the new mod rewrite on nginx
i have 3 days and dont have solution
i hope get help here --
this is my code

---------------------------------------------------------------------------------------------
RewriteEngine On

RewriteCond %{HTTP_HOST} ^(www\.test_web\.com)(:80)? [NC]
RewriteRule ^(.*) http://test_web.com/$1 [R=301,L]
order deny,allow

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^Busqueda/(.*?)/pag/([0-9]+)/$ index.php?q=$1&m=buscar&page=$2 [L,NC,QSA]
RewriteRule ^Busqueda/(.*?)/$ index.php?q=$1&m=buscar [L,NC,QSA]
RewriteRule ^Anime-letra/(.*?).html$ index.php?m=letra&a=$1 [L,NC,QSA]
RewriteRule ^anime/(.*?)_([0-9]+).html$ Animes_1.php?t=$1&id=$2 [L,NC,QSA]
RewriteRule ^episodio/([0-9]+)/(.*?).html$ Animes_2.php?id=$1&t=$2 [L,NC,QSA]

------------------------------------------------------------------------------------------------------------------------

please help me
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 194
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready