
location /forums/ {
rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

try_files $uri $uri/ /forums/vbseo.php?$args;
}

location ~ /forums/(.*\.php)$ {
rewrite ^/forums/(.*)$ /forums/vbseo.php last;
}
location /forums/vbseo/(includes|resources/html|resources/xml)/ {
	allow      127.0.0.1;
	deny      all;
}
