Sunday 28 December 2003 9:23:11 am
Good day all, I have the same problem here on non virtual host.. Do you have the 500 internal error? here is what I found about that error; This a common error that many web developers get when running cgi scripts for the first time. It is often resolved by making sure you have done the following: When editing your cgi script use a program that saves the file as a 'text file' type. DO NOT use Notepad that comes with Microsoft Windows because it doesn't save files in pure ASCII text format. Use Wordpad instead to edit files.
FTP your cgi scripts in ASCII mode into the cgi-bin directory.
Set the file permissions on the cgi script file and directories to be 'chmod 755'. If you use CuteFTP to transfer files, right click on the file and select change file attributes. Using CuteFTP, click on the read, write, execute checkboxes under 'owner'.
If all else fails, add this line at the top of your Perl script after #!/usr/bin/perl
This line instructs the server to display any errors to the web browser:
use CGI::Carp qw(fatalsToBrowser); Double check any changes you have made to the script. Make sure you have the correct entries for paths etc. let me know if it make sense to you Balazs thanks Patrick [email protected]
|