• 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.

Issue 404 When Accessing WebStats

ovrld

New Pleskian
Hi All,

We normally use cPanel but the client is on Plesk:

OS ‪Red Hat Enterprise Linux Server 7.5 (Maipo)‬
Product Plesk Onyx
Version 17.5.3 Update #55, last updated on Sept 1, 2018 08:15 AM

--

We've added a user to be able to access the webstats folder, but now when I try to access it, it throws a 404 error as per attached screenshot.

Any help would be appreciated. The 'access_log.webstat' file in logs is around 7mb, so I'm guessing stats of some kind are installed, I just don't know how to access them.

Thanks in advance.
 

Attachments

  • Screen Shot 2018-09-04 at 12.11.10.png
    Screen Shot 2018-09-04 at 12.11.10.png
    51.9 KB · Views: 13
  1. Go to Domains > example.com > Apache & nginx Settings

  2. Replace the additional directive with the following:
    Code:
    if (!-e $request_filename ){
    set $test P;
    }
    if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon)){
    set $test "${test}C";
    }
    if ($test = PC){
    rewrite ^ /server/index.php last;
    }

  3. If the directive above fixes the issue with Web Statistics page, but makes some links on a site broken, use the following additional directives instead:

    Code:
    if (!-e $request_filename ){
    set $test P;
    }
    if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon)){
    set $test "${test}C";
    }
    if ($test = PC){
    rewrite ^/(.*)$ /index.php?q=$1 last;
    }


If additional directives are not required for website functioning, remove them under Plesk > Domains > example.com > Apache and nginx Settings .



For more information
 
Back
Top