• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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