• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue Web Statistics throw 404 on Plone site

Schoelje

New Pleskian
Server: Debian 8.10‬
Plesk: Plesk Onyx 17.8.11 Update #5
Plone: 5.0.8
Note: mydomain is redacted.

I run a Plone site with a URL like this: mydomain.com:8080/Plone

I created an Apache RewriteRule so that users whould see the friendly URL: mydomain.com

If I want to see my web statistics for that domain it wants to show the following URL: mydomain.com/plesk-stat/webstat/ which returns a 404

Also, when I try this URL: mydomain.com:8080/Plone/plesk-stat/webstat/ it returns a 404.

How do I go from here?
 
I have found these conf files but don't know what to do with it:

/opt/psa/etc/awstats/awstats.mydomain.com-http.conf
/opt/psa/etc/awstats/awstats.mydomain.com-https.conf

Any ideas?
 
In /var/www/vhosts/system/mydomain.com/conf/httpd.conf I see this Alias:

Alias "/plesk-stat" "/var/www/vhosts/system/mydomain.com/statistics"
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /var/www/vhosts/system/mydomain.com/statistics/webstat
Alias /webstat-ssl /var/www/vhosts/system/mydomain.com/statistics/webstat-ssl
Alias /ftpstat /var/www/vhosts/system/mydomain.com/statistics/ftpstat
Alias /anon_ftpstat /var/www/vhosts/system/mydomain.com/statistics/anon_ftpstat
Alias /awstats-icon /usr/share/awstats/icon

I suspect that the Aliases and the RewriteRule don’t go well together:

RewriteRule ^/(.*) http://mydomain.com:8080/VirtualHostBase/https/%{HTTP_HOST}:443/Plone/VirtualHostRoot/$1 [P,L]

This is about the limit of my server knowledge. So, if somebody has some experience with aliases and rewriterules I'd very much appreciate your help.
 
Well, I couldn't solve this issue but I've found a workaround.

I created a sub-domain and in the "Apache & nginx Settings" of that sub-domain I added "Alias /webstat-ssl /var/www/vhosts/system/mydomain.com/statistics/webstat-ssl".
So, now I can watch the statistics from my Plone site on that sub-domain.
 
Back
Top