• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

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