View Full Version : CGI file will not execute?

04-09-2010, 05:58 AM
Hello all,

I am trying to restore an old site that was given to me. All the webpages are complete. I have downloaded and installed Xampp as my webserver. I threw my folder of html files in the htdocs folder. All of my static HTML pages and links work just fine except there is one link to a cgi perl script in a seperate folder called cgi-bin and it just does not work. Anyone know why? I am unfamiliar with cgi.


04-09-2010, 08:03 AM
Have you checked the error logs of the server? If the scripts 'worked before' then I would check, firstly that you have set the files permissions to be perhaps 755

take a look at the error log if that doesn't help.


04-17-2010, 11:40 PM
Is the CGI script executable?

You can also check the Perl script. The path in the first line, starting with #! should be the path to your Perl interpreter (or whatever XAMPP suggests for Perl scripts).