• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

AW STAT does not show html frames

A

aXidentally

Guest
In my etc/awstats/awstats.conf file there is an optional line

UseFramesWhenCGI=1

presumably turns html frames on (which allows you to review previous months data).

However making changes to this parameter makes no difference and I get a single pane view.

Any ideas as to how I get the left hand and top panes to show up?

What am I missing (brain cells aside)?

Many thanks

PI
 
hi there: to my mind, Plesk awstats conf files are actually located in another place: /usr/local/psa/etc/awstats

awstats.*-anon_ftp.conf awstats.*-ftp.conf
awstats.*-http.conf
awstats.*-https.conf

each conf file corresponds its own type of stat report, and should have UseFramesWhenCGI=1 by default. hope this helps a bit
 
Hey thanks, now

/usr/local/psa/etc/awstats

would appear to be correctly configured for frames.

Looking deeper i found in the html a form line which implies awstats is set up for static links and yet another config file

/cgi-bin/awstats.pl?config=some-domain.co.uk-http&staticlinks&configdir=/opt/psa/etc/awstats

Does this static links option mean you cannot have dynamically generated monthly figures (as in the awstats demo)?

Maybe there is a different way of running awstats.pl?

Thanks

PI
 
Hi again:
You see, Plesk's implementation of AWstats is not dynamic. I mean the AWstats shipped with the Plesk4Unix is running not as a CGI script (as the standard awstats), but rather as a set of static HTML pages. That is why it is impossible, for example, to change reported statistics period for previous periods in Plesk for Unix (unlike in Plesk for Windows, where it is possible).
The reason is the insecurity of the CGI mode. On security reasons Plesk AWstats is just saving the AWstats' output for previous months and presents it as static pages. They say, the dynamic CGI support will appear soon in the new version of Plesk...
 
Aha! This all makes sense now & thank you for pointing it out.

Looking forward to a dynamic version - soon.

Thanks again

PI
 

Similar threads

Back
Top