Rewrite_Mod this for Nginx

jaybizzle jose.lara at gmail.com
Sun Sep 27 12:05:13 MSD 2009


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.





More information about the nginx mailing list