fokiinfinity.blogg.se

Cgi bin awstats pl config
Cgi bin awstats pl config













cgi bin awstats pl config
  1. #Cgi bin awstats pl config install
  2. #Cgi bin awstats pl config update
  3. #Cgi bin awstats pl config full

After under a minute of detailed research I decided to go for AWSTATS because it just looked better.ĭiving right in I did a $ sudo apt-get install awstats and was happy to find a package available and watched it install without any fuss. Proud of my little ADSL connected web server built on an old Gateway P200 was I, that I felt the need to add some stats pages. rwxr-xr-x 1 nobody nobody 10205 Jun 5 23:11 urlaliasbuilder.I have installed AWStats on my web server and posted the following guide to help others.Ī mini Howto tutorial - Getting AWSTATS working with APACHE2 in UBUNTU Linux. rwxr-xr-x 1 nobody nobody 5199 Jun 5 23:11 awstats_ rwxr-xr-x 1 nobody nobody 12768 Jun 5 23:11 awstats_ rwxr-xr-x 1 nobody nobody 25865 Jun 5 23:11 awstats_ So, to fix the problem, I did a chmod 755 *.pl in the awstats/WEB-INF/tools/ ll rw-r-r- 1 nobody nobody 5199 Jun 5 23:11 awstats_ It occurred to me that the was not set ls -l var/tomcat5/logs/access_log.txt |" : Permission deniedĬheck config file, permissions and AWStats documentation (in 'docs'

cgi bin awstats pl config

#Cgi bin awstats pl config update

Update for config "./awstats.With data in log file When I ran awstats for the first time, from command line, within tomcat container a 'Permission denied' error occurred. Take in mind that Tomcat will create an access log file for each day, and that final file's name will include the date. Important! Don't omit the asterisk in pointing the log files. LogFile="/webapps/awstats/WEB-INF/tools/ /logs/www_mydomain_com*.log |" We should replace this line to match the log files for the corresponding domain, as we said when changing Tomcat access logs format: This line was gathering the whole set of log files, and this is against having statistics apart for each domain. Creating separated domain statistics.įrom the instructions above, everything is valid for creating separated domain statistics, except for one thing: Using Telnet or SSH, go to /webapps/awstats/WEB-INF/cgi-bin folder and run perl -config=-update.This will allow updating from the web browser with. Set AllowToUpdateStatsFromBrowser=1 in awstats.file, see above.

#Cgi bin awstats pl config full

Remember replacing with full path to Tomcat.

cgi bin awstats pl config

You must look for the attributes and change their values as shown below: Now, we will change some file default values.

  • Edit awstats.You can use any text editor of your preference.
  • Next instructions make the assumption this is your current working folder.
  • Our domain is Now, go to /webapps/awstats/WEB-INF/cgi-bin folder.
  • awstats.war was deployed into /awstats default context.
  • This is the hardest part, did you already take a coffee?įirst we will make some assumptions, are these ones: Better make it work and then think about changing things. Although you could change default context, isn't a good idea.















    Cgi bin awstats pl config