• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

Can't view stats anymore, browser asks to download WEBSTAT file

F

flupke

Guest
when clicking on webstat in the report menu, stats don't show anymore but browser wans to download the file webstat. this happens for all domains.

I did check webstat, it is an .html file webstat.html located at /var/www/vhosts/<domain>/statistics/webstat, there is an alias plesk-stat pointing to /var/www/vhosts/<domain>/statistics.

Why does the browsers asks to download the file? I tried wih several clients and browsers: same stuffs for all domains.

Any idea what I can check?
 
I found this nugget over here http://rackerhacker.com/2007/09/28/parsing-html-through-php-in-plesk/

Drop this at the end of /etc/httpd/conf/httpd.conf and restart apache

<LocationMatch "/plesk-stat/(.*)">
AddType text/html .html
</LocationMatch>

You may also need to quit and relaunch your browser before it will work. At least that's what I had to do.

ooops, I forgot to mention that I also quit and restarted plesk.

/etc/init.d/psa stop
/etc/init.d/psa start


YMMV,
--Mark
 
Back
Top