1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

AW STAT does not show html frames

Discussion in 'Plesk for Linux - 8.x and Older' started by aXidentally, Nov 7, 2007.

  1. aXidentally

    aXidentally Guest

    0
     
    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
     
  2. Hedgren

    Hedgren Guest

    0
     
    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
     
  3. aXidentally

    aXidentally Guest

    0
     
    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
     
  4. Hedgren

    Hedgren Guest

    0
     
    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...
     
  5. aXidentally

    aXidentally Guest

    0
     
    Aha! This all makes sense now & thank you for pointing it out.

    Looking forward to a dynamic version - soon.

    Thanks again

    PI
     
Loading...