Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: CGI file will not execute?
04-09-2010, 05:58 AM #1
- Join Date
- Jan 2010
- Thanked 0 Times in 0 Posts
CGI file will not execute?
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 #2
- Join Date
- Apr 2003
- in my house
- Thanked 201 Times in 197 Posts
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 #3
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).
I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
** Independent Multimedia Artist in Pasig **