![]() ![]() Note that localhost seems to go to my first virtual entry: ĭocumentRoot "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\myDomain" ScriptAlias /awstats/ "C:/Program Files/AWStats/wwwroot/cgi-bin/" Note that AWStats inserted the following at the end of the config file: Alias /awstatsclasses "C:/Program Files/AWStats/wwwroot/classes/"Īlias /awstatscss "C:/Program Files/AWStats/wwwroot/css/"Īlias /awstatsicons "C:/Program Files/AWStats/wwwroot/icon/" I thought it was maybe due to cgi not being enabled, so I added this to my config file: ScriptAlias /cgi-bin/ "C:/Program Files/AWStats/wwwroot/cgi-bin/"īut that didn't seem to help. : couldn't spawn child process: C:/Program Files/AWStats/wwwroot/cgi-bin/ (OS 2)The system cannot find the file specified. : couldn't create child process: 720002: I have the following error log entries (OS 2)The system cannot find the file specified. The server encountered an internal error or misconfiguration and was unable to complete your request. But when I go to my perl script it fails: I get this error 500 in the browser: Internal Server Error * Change ‘DirData’ to use the same Statistics file that Cpanel AWStats use.Ĭongratulations! You can now see Awstats outside of your cPanel.I'm trying to add AWStats to my working Apache website. * Edit ‘SiteDomain’ with the domain name (Example: IMPORTANT * Change ‘DirIcons’ to relative path of icon directory. * Check ‘LogFormat’ has value ‘1’ (means “NCSA apache combined/ELF/XLF log format”) * Change LogFile value with the path of your Apache log file * rename file to in /home/user/public_html/cgi-bin # mv /home/user/Awstats7.0/icons /home/users/public_html/icons * Then move AWStats ‘icon’ sub-directory and its content in public_html directory, which is readable by web server Default value works for most of the Linux OS, but it can also be * Change the above with the path where your Perl interpreter is installed. * Go to user cgi-bin directory after copying the content (Path for cgi-bin dir of AWStats is /home/user/Awstats7.0/wwwroot/cgi-bin) * Then copy the contents of the uncompressed cgi-bin folder to the user cgi-bin directory (It will include ,, plugins, lib and lang sub-directories). * Un-compress awstats-7.0.tar.gz in user’s home folder 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. AWStats is a free application that is powerful and packed with tools that generates advance statistics of Web, Ftp and Mail server graphically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |