• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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