Welcome! Log In Create A New Profile

Advanced

[Help] Convert htaccess apache to nginx

March 30, 2012 06:56AM
Someone can help me covert the code below to apache nginx


RewriteEngine On
RewriteRule ^([0-9]+)$ /showthread.php?t=$1 [NC,QSA,L]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]


I know change [L] to Last but what is NC QSA.

Thanks for help!
Subject Author Posted

[Help] Convert htaccess apache to nginx

teen9xpro March 30, 2012 06:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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