Welcome! Log In Create A New Profile


И снова 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: 317
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