Skip to main content

Replies sorted oldest to newest

I could post the code that works for me, but it wouldn't necessarily work for you if your server's configuration is different. Three things to check:


1. Make sure that the HTML page has the correct path to the CGI (Perl) script. If it says...

<FORM action="winqcgi.pl" method="post" name="mtiform">

...you may need to change it to something like...

<FORM action="/cgi-bin/winqcgi.pl" method="post" name="mtiform">

...depending on where the script is located and how your web server is configured.


2. Make sure that the first line of the CGI script is pointing to the correct location of the Perl interpreter. If it says...

#!/usr/local/bin/perl

...you may need to change it to...

#!/usr/bin/perl

...or something else, depending on where Perl is installed on the server. Ask the server administrator if you're not sure.


3. After uploading the winqcgi.pl script, make sure that you set its permissions to...

chmod 755 winqcgi.pl

...so the web server can run it. This is often overlooked.

Add Reply

Post
LEGAL INFO
CONTACT US
Copyright 2007-2018 Advoco Solutions Ltd. All Rights Reserved.
×
×
×
×
Link copied to your clipboard.
×