• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question AWSTATS 404 site not found

Danny325

Basic Pleskian
I handle all uris over my frontcontroller and php scripts like that it was necessary to add:

Code:
if (!-e $request_filename){
   rewrite ^(.*)$ /index.php break;
}

Now if i try to open the awstat ui, .../plesk-stat/webstat-ssl/ i get my custom 404 error page.

Is there any clever way handle only the affected uri with nginx ?

EDIT:
Meantime i added before something like:
Code:
if ($request_uri ~ "^\/plesk-stat\/$"){
    break;
}
Any better solution ?
 
Last edited:
Back
Top