Welcome! Log In Create A New Profile

Advanced

Nginx Rewrite rules

Posted by aditya_arora04 
Nginx Rewrite rules
April 21, 2011 02:47PM
Hey, can anybody help wid the following rewrite rules ???

Options +FollowSymLinks



RewriteEngine on

RewriteBase /admin



RewriteCond %{REQUEST_URI} (/|\.htm|\.html|/[^.]*)$ [NC]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

#RewriteRule ^rss([0-9]{0,}),(.*).html$ rss.php?cat=$1 [L]

RewriteRule (.*) index.php?page=$1

RewriteRule templates\/(.*).tpl$ index.php[F]

RewriteRule templates_c\/(.*) index.php[F]

RewriteRule configs\/(.*).conf$ index.php [F]

#RewriteRule ^p-(.*).html$ index.php?page=$1 [L]

Thanks
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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