Welcome! Log In Create A New Profile

Advanced

need help to convert .htaccess to nginx rules

Posted by onel0ve 
need help to convert .htaccess to nginx rules
March 04, 2013 03:19AM
My htaccess content .

<Files *.htm>
#Compress
SetOutputFilter DEFLATE
</Files>
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# please use .php at url for admin
RewriteRule ^recent-articles-feed rss.php [NC]
RewriteRule ^rss/([^/]+) rss.php?q=$1 [NC]

# To ignore htaccess - enlist here
RewriteCond $1 !^(index\.php|ftpservice|demo|ftpdb|MDF|phpsysinfo|admin|templates|links|api|forum|
articles|imageGallery|language|includes|ajax|resources|fonts|images|parse|directory|uploads|system|
rss\.php|robots\.txt|sitemap\.php|Sitemap\.xml|sitemap\.xml|sitemap2\.xml|urllist\.txt)


RewriteRule ^(.*) index.php [NC]



Edited 1 time(s). Last edit at 03/04/2013 03:20AM by onel0ve.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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