The 'tutorial' you are following was created in 2004 and some things may have changed since then but I have not examined it in detail (time constraints).
It is really not the job of this forum to troubleshoot a third party script's configurations only to troubleshoot any server issues you may have.
sdk1985 wrote:extended perl installed (from the xampp site)
See this thread and if you downloaded the *.pl2 addon version then follow the advice and install the latest
full version Perl addon from the SourceForge link and follow the installation instructions with regards to running the setup_xampp.bat file twice - you can install over the version you have already installed by overwriting all files.
http://community.apachefriends.org/f/viewtopic.php?t=32051sdk1985 wrote:mydomain.com is through virtual host on c:/xampp/htdocs/website2
The CGI-BIn is in it's original c:/xamp/cgi-bin/awstats/
You can use a cgi-bin in your website2 folder by adding this line after the </Directory>line in your vhost container.
- Code: Select all
ScriptAlias /cgi-bin/ "C:/xampp/htdocs/website2/cgi-bin/"
You can run a script outside the alias cgi-bin in your website2 folder, so that cgi scripts will run anywhere in the website2 folder by adding
Options ExecCGI inside the <Directory> directive, for example a line similar to this:
- Code: Select all
Options Indexes +FollowSymLinks Includes ExecCGI
Also you may wish to make this edit in your httpd.conf file:
Find this line:
AddHandler cgi-script .cgi
edit so it looks like this:
AddHandler cgi-script .cgi .pl
Always save the conf files after editing then restart Apache.
Check the server's error.log file, about the date and time you have issues, for any clues why you are not able to see cgi pages:
C:\xampp\apache\logs\error.log