![]() ![]() It is very simple to set up and configure.įollow the steps given below to access AWStats outside of your cPanel. ![]() You can also set up AWStats and access it outside of your cPanel. Setup AWStats and access it from outside of Cpanel: Or you can directly run the following command as a root to generate stats for that particular user. So that client can click in his Cpanel -> AWStats -> Domain to view logs -> to manually update stats at any time. This will enable “update now” option in AWStats page. Search for entry : AllowToUpdateFromBrowser=0Ĭhange it to i.e : AllowToUpdateFromBrowser=1 Issue: AWStats not updating & “Update Now” option missing from Cpanel -> AWStats -> Domain to view logs -> Last update (Update now) ( Note: It is assumed that you are having shell access of your Linux server) But if some one wants to update their AWStats frequently then do the following: It works as CGI from browser and command line.īy default AWStats on Cpanel updates its graph using log files every 24 hrs. It can analyze a lot of log formats like Apache combined log file (XLF/ELF), IIS logs (W3C), Webstar native logs and other web, streaming, proxy server log files. It quickly analyze logs from tools like Web server (Apache & IIS), mail and FTP servers.ĪWStats shows you the number of visits, visits duration, last visits, unique visitors and their country, OS/Browser type, most viewed pages, search engine and used keywords used to find your site etc. AWStats works as a CGI and shows you all information contained in logs via graphical web pages. Awesome.AWStats is a free application that is powerful and packed with tools that generates advance statistics of Web, Ftp and Mail server graphically. # This is to permit URL access to scripts/files in AWStats directory.Īnd there's AWStats in the browser. ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/" # Directives to allow use of AWStats as a CGIĪlias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"Īlias /awstatscss "/usr/local/awstats/wwwroot/css/"Īlias /awstatsicons "/usr/local/awstats/wwwroot/icon/" Reinstated the AWStats configuration changes to etc/apache2/nf: # Then: a2enmod cgiĬommented out the changes AWStats had made, ran a2enmod, restarted and 'Hello World' worked. To do so, first remove (or comment out) the things you've already added. Note that in Debian, there's an advanced configuration system which would have done all of this for you, if you would have used it -) What you want to do is ensure that you have something like That means you haven't configured authorization for your webserver. Posted a more useful question, joined the Debian email list and was referred to the docs: /usr/share/doc/apache2/README.Debian then got the following SO response: Hmmm: AH01630: client denied by server configuration: /usr/local/apache2 Cool!Ĭhecked Apache error log: $ sudo cat /var/log/apache2/error.log Shows a tree of files, ownerships and permissions. Someone at Linode (web hosting) recommended using to check file permissions: sudo apt-get install tree Played around with changing ownerships of various files to and from root:root, myusername:www-data. Made sure all permissions were 755 for directories and 644 for files. First (useful) thing I did was just post a simple "hello world" script in the cgi-bin: #!/usr/bin/perl
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |