sarah
09-30-2002, 05:02 PM
Hi,
I am currently trying to setup a greeting cards and I have modified the cgi setup script as it says in the installation file, but when I try to use the script, I get an 500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
There are a couple of things that I am not sure about and may be factors towards the script not working.
For example:
Change the variable $anyecard_dir to point to the absolute directory of the anyecard_install/.
In the example:
$anyecard_dir="/home/webinstall/anyecard_install/";
Make sure the the above $anyecard_dir/ directory, which is /home/webinstall/anyecard_install/ in the example, is writable by the cgi program.
How can I tell that the directory is writable by the cgi program? :confused:
Also the installation file says:
Install the modified greetingcard.cgi to your CGI-BIN/ directory. change its permission to be executable.
Two things:
1) What does that mean? How do I install the cgi file - is it a simple case of just uploading it to the server (cgi-bin directory) or is there abit more to it than that?
2) How do I change the permissions on the file to make it an executable? ( do I simply right-click | properties | read execute)?
I've never used Perl before and I downloaded the script from www.anyecard.com
Help anyone please
:(
I am currently trying to setup a greeting cards and I have modified the cgi setup script as it says in the installation file, but when I try to use the script, I get an 500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
There are a couple of things that I am not sure about and may be factors towards the script not working.
For example:
Change the variable $anyecard_dir to point to the absolute directory of the anyecard_install/.
In the example:
$anyecard_dir="/home/webinstall/anyecard_install/";
Make sure the the above $anyecard_dir/ directory, which is /home/webinstall/anyecard_install/ in the example, is writable by the cgi program.
How can I tell that the directory is writable by the cgi program? :confused:
Also the installation file says:
Install the modified greetingcard.cgi to your CGI-BIN/ directory. change its permission to be executable.
Two things:
1) What does that mean? How do I install the cgi file - is it a simple case of just uploading it to the server (cgi-bin directory) or is there abit more to it than that?
2) How do I change the permissions on the file to make it an executable? ( do I simply right-click | properties | read execute)?
I've never used Perl before and I downloaded the script from www.anyecard.com
Help anyone please
:(