- #Cgi bin awstats pl config how to#
- #Cgi bin awstats pl config install#
- #Cgi bin awstats pl config zip file#
Open it with a text editor and paste the following settings to the bottom of the file and save. Locate your apache nf file, it will be under C:/XAMPP_WAMPP_INSTALL_DIRECTORY/apache/conf. Add the following to the bottom of the file and save it. Go to C:/XAMPP_WAMPP_INSTALL_DIRECTORY/apache/conf and open nf in a text editor. Change the first line #!/usr/bin/perl to #!C:/XAMPP_WAMPP_INSTALL_DIRECTORY/perl/bin/perl.exe. Within the awstats/cgi-bin folder, open the in a text editor. SiteDomain=”” to SiteDomain=”localhost” (Or your actual site url, eg: SiteDomain=”. DirCgi=”/cgi-bin ” to DirCgi=”/cgi-bin/awstats”. LogFile=”/var/log/httpd/mylog.log” to LogFile=”C:/XAMPP_WAMPP_INSTALL_DIRECTORY/apache/logs/access.log”. Then go ahead and open the nf file in a text editor. Within the awstats\cgi-bin folder rename the to nf. #Cgi bin awstats pl config zip file#
Go back to the zip file and drag the full classes folder to sit inside the new awstats/cgi-bin folder. The path will be something like the following C:/XAMPP_WAMPP_INSTALL_DIRECTORY/cgi-bin/awstats/cgi-bin Go back to the zip file and extract the contents of the CGI-bin to the new awstats/cgi-bin folder. Open the new AWStats folder and create another folder called CGI-bin. #Cgi bin awstats pl config install#
Find and open the CGI-bin folder located in the XAMPP or WAMPP install directory, for example, C:/XAMPP_WAMPP_INSTALL_DIRECTORY. If your using XAMPP, the root directory will be located in C:/XAMPP_WAMPP_INSTALL_DIRECTORY/www/. If your using XAMPP, the root directory will be located in C:/XAMPP_WAMPP_INSTALL_DIRECTORY/htdocs/. Extract the js, CSS and icon folders to your XAMPP or your WAMPP root directory. The zip will consist of a few folders and a file. Open the zip file that downloaded from the AWStats website. Download the latest build from –, for this tutorial version 7.7 was used. If you can’t find a PATH Variable, then simply click new and create one – Variable Name must be PATH and the value must be the path to your perl.exe directory eg in my case C:\xampp\perl\bin. Find the PATH variable and click edit -> Add the full path to the perl.exe folder eg in my case – C:\xampp_\perl\bin If there are already values in here, separate the last value with a semi-colon EG: C:\appData C:\xampp\perl\bin. Right Click My Computer -> Properties -> Advanced System Settings -> Environment Variables. This will make it much easier when using the command prompt, meaning you won’t have to specify explicit paths to the perl.exe. Add the PERL path variable to your computer (It may already be there after installing but just check in case). At any time that ‘XAMPP_WAMPP_INSTALL_DIRECTORY’ is specified within this tutorial, it needs to be replaced with Your XAMPP or WAMPP install directory. Please read through the following two steps, it is vital for you to understand before configuring your development environment with this how-to-tutorial. Important things to do and take note of before we start You must have a text editor installed to edit certain files. XAMPP/WAMPP must be installed, preferably to the C: Drive. To save you the hassle of banging your head against the desk for hours on end! Prerequisites This is the exact reason this tutorial is being made. #Cgi bin awstats pl config how to#
The AWStats website doesn’t really clarify how to install it correctly on a windows machine. Installing AWStats with XAMPP or the WAMPP build can be quite tricky.