Welcome! Log In Create A New Profile

Advanced

И снова rewrite

Posted by user~13 
И снова rewrite
April 06, 2012 09:53AM
Подскажите пожалуйста, как настроить следующие правила rewrite для nginx?

RewriteRule ^([^/]*)\.html$ /?page=$1 [QSA,L]
RewriteRule ^([^-]*)-([^-]*)/$ /index.php?page=$1&act=$2 [QSA,L]
RewriteRule ^([[:alnum:]]{8})/*$ /index.php?page=news&id=$1 [QSA,L]
Sorry, you do not have permission to post/reply in this forum.

Online Users

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