|
| A R C H I V E D M E S S A G E |
|
Subject: Internal server error 500 and not found error 404 |
| Posted: 07/29/2004 at 12:26:40 am |
| By: wong |
| Hi,
Thank You Seth for creating this wounderful script.
I have difficulities in setting the script up. My host is on Linux (using cpanel for interface) and path to perl: #!/usr/bin/perl
path to sendmail: $mailprog = "/usr/sbin/sendmail".
I have got internal server error 500 and 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have put all files in /cgi-bin, except formv2_1.html (permission 755) which is in public_html folder. The MINE folder is inside the cgi-bin folder which contains the Lite.pm. As instructed, the permission of the MINE folder and Lite.pm are set to 777. I have triple checked on the email (\ before @). I leave all the options untouched.
The permission of files in cgi-bin is set to 755, except bizmail.dat is set to 777.
Here is the extraction of error log:
[2004-07-29 01:47:58]: error: file has no execute permission: (/home2/precious/public_html/cgi-bin/formv2_1.html)
[2004-07-28 04:28:03]: error: file is writable by others: (/home2/precious/public_html/cgi-bin/bizmail.cgi)
[2004-07-28 00:43:30]: error: file is writable by others: (/home2/precious/public_html/cgi-bin/bizmail.cgi)
[2004-07-28 00:37:41]: error: file is writable by others: (/home2/precious/public_html/cgi-bin/bizmail.cgi)
[2004-07-28 00:31:15]: error: file is writable by others: (/home2/precious/public_html/cgi-bin/bizmail.cgi)
[2004-07-26 02:13:44]: error: file has no execute permission: (/home2/precious/public_html/cgi-bin/success.html)
[2004-07-26 02:11:28]: error: file has no execute permission: (/home2/precious/public_html/cgi-bin/success_README.txt)
[2004-07-26 02:09:55]: error: file has no execute permission: (/home2/precious/public_html/cgi-bin/success_README.txt)
[2004-07-26 02:08:39]: error: file is writable by others: (/home2/precious/public_html/cgi-bin/formv2_1.html)
[2004-07-23 02:19:01]: error: file is writable by others: (/home2/precious/public_html/cgi-bin/bizmail.cgi)
I have no clue to fix these errors as I have tried in the last few days.
Someone please help.
Thanks in advance | |
|
|
Subject: Re: Internal server error 500 and not found error 404 |
| Posted: 07/29/2004 at 6:03:17 am |
| By: Seth Knorr |
| Ok, actualy it looks as if the problem is that bizmail.cgi IS CHMODED to 777. On some servers this will not work. If this is not the case, then there is something wrong with the server configuration in general. It could be that your cgi-bin is not setup properly, which is waht it looks like. The main thinking behind this is if you go and access bizmail.cgi directly without posting to it from the form, you still get the internal server error, and the error file, is not matching up with an error you would get for misconfiguration, they are definately all PERMISSION based errors.
Seth
| |
|
|
Subject: Re: Internal server error 500 and not found error 404 |
| Posted: 07/29/2004 at 6:58:39 am |
| By: wong |
| Thanks Seth for quick reply.
I have tried CHMODED both 755 and 777 on bizmail.cgi, accessed to bizmail.cgi direct from browser and thru the form. Got same old result which is 500 and 404 :( | |
|
|
Subject: Re: Internal server error 500 and not found error 404 |
| Posted: 07/29/2004 at 7:42:05 am |
| By: Seth Knorr |
| Yeah, I would check with your server people on the cgi-bin, and why it is not working?
Are you able to run any other cgi scripts?
Seth | |
|
|
Subject: Re: Internal server error 500 and not found error 404 |
| Posted: 07/29/2004 at 3:22:45 pm |
| By: wong |
| that's the only cgi script on my website. thanks | |
|
|