vbulletin vbseo rewrite rule

zuckbin nginx-forum at nginx.us
Mon Mar 3 16:28:51 UTC 2014


hi,

i try to convert theses rules from apache for vbseo vbulletin, but got 404
errors

How to convert theses rules for nginx ?

RewriteEngine On

RewriteBase /forum/

RewriteRule ^[^/]+/.+-([0-9]+)\.html$ vbseo.php?vbseourl=showthread.php&t=$1
[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]


thanks,
bye

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248039,248039#msg-248039



More information about the nginx mailing list