• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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