• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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