• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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