Vbulletin vbseo rewrite rule

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:

Hi,

I use this :

    rewrite ^/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ 

/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

error_page 404 /404.php;

if ($request_filename ~ .php$ ) {
rewrite ^(.*)$ /vbseo.php last;
}

if (!-e $request_filename) {
rewrite ^/(.*)$ /vbseo.php last;
}

  # We don't want to allow the browsers to see .hidden linux/unix 

files
location ~ /. { deny all; access_log off; log_not_found off; }

  location ~ /(images/|clientscript/).* {
    access_log      off;
    expires         max;
    add_header Pragma public;
    add_header Cache-Control "public, must-revalidate, 

proxy-revalidate";
try_files $uri $uri/ /vbseo.php?$args;
}

p.

Le 3 mars 2014 17:28, zuckbin [email protected] a crit :

i try this and it doesn’t work for me.

maybe because i got some custom urls in vbseo.

and why all my urls are with httpS ?!

boring…

Posted at Nginx Forum:

AHMA, you have two options :

  • think yourself to find solutions
  • give us some configuration informations.

p/

Le 4 mars 2014 11:11, zuckbin [email protected] a crit :