• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Rewrite Rules breaks AW-Stats and/or Webalizer

Janko1000

Regular Pleskian
Hi,

i have a big Vbulletin Board and use Nginx with PHP-FPM. Some of my Rules break AWStats. All i can see is "Page not Found".

My Rules:
Code:
gzip_proxied any;


### Forum Start ###
rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
if (!-e $request_filename) {
rewrite ^/(.*)$ /vbseo.php last;
}
if ($request_filename ~ "\.php$" ) {
rewrite ^/(.*)$ /vbseo.php last;
}
location /thread { rewrite ^/thread([0-9]+)-([0-9]+)(\.html?)(.*)$ /thread.php?threadid=$1&page=$2 break; rewrite ^/thread([0-9]+)(\.html?) /thread.php?threadid=$1 break; rewrite ^/thread([0-9]+),(.*)(\.html?) /thread.php?threadid=$1 break; }
location /board { rewrite ^/board([0-9]+)-([0-9]+)(\.html?)(.*)$ /board.php?boardid=$1&page=$2 break; rewrite ^/board([0-9]+)(\.html?) /board.php?boardid=$1 break; rewrite ^/board([0-9]+),(.*)(\.html?) /board.php?boardid=$1 break; }

### Forum Ende ###

Can you tell me which rule the statistics destroyed?

Thanks!
 
Back
Top