8 messages in ru.sysoev.nginxrewrite rules
FromSent OnAttachments
Stefanita rares DumitrescuJan 25, 2008 4:16 am 
Stefanita rares DumitrescuJan 25, 2008 4:21 am 
RoxisJan 25, 2008 4:31 am 
Stefanita rares DumitrescuJan 25, 2008 5:04 am 
Jan ŚlusarczykJan 28, 2008 1:52 pm 
HonDev DeveloperJan 28, 2008 2:50 pm 
Jan ŚlusarczykJan 31, 2008 5:31 am 
BoethiusFeb 5, 2008 2:55 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:rewrite rulesActions...
From:Jan Ślusarczyk (jan.@public.gmane.org)
Date:Jan 28, 2008 1:52:19 pm
List:ru.sysoev.nginx

I'm trying to move my vbulletin forum to nginx+fastcgi php. The traffic is killing apache2. The only thing left is rewrite rule for vbseo. I've been trying to convert them myself, but I have to give up and ask for your help. These are the rules:

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

RewriteCond %{QUERY_STRING} !vbseourl= RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron) RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

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

Any help will be very appreciated. I will include the working code on Wiki for other users...

Thanks Jan