Welcome! Log In Create A New Profile

Advanced

Rewrite_Mod this for Nginx

jaybizzle
September 27, 2009 04:08AM
Can someone give me a hand and rewrite this please? Thank you.

=======

#
# Setting Wolf CMS requirements
#

php_flag magic_quotes_gpc off
AddDefaultCharset UTF-8
Options -Indexes +FollowSymLinks

#
# Setting rewrite rules
#

<IfModule mod_rewrite.c>
RewriteEngine On
# Set next line to your Wolf CMS root - if not in subdir, then just /
RewriteBase /wolf/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Administration URL rewriting.
RewriteRule ^admin(.*)$ admin/index.php?$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Main URL rewriting.
RewriteRule ^(.*)$ index.php?PAGE=$1 [L,QSA]

</IfModule>

--
View this message in context: http://n2.nabble.com/Rewrite-Mod-this-for-Nginx-tp3719978p3719978.html
Sent from the nginx mailing list archive at Nabble.com.
Subject Author Posted

Rewrite_Mod this for Nginx

jaybizzle September 27, 2009 04:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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