jozsefk9
New Member
- Messages
- 1
- Reaction score
- 0
- Points
- 0
Hello,
I'm using a free hosting and trying to submit a message by web form with perl script, but I'm getting some Internal Message Error after clicking on Send button.
I placed the perl file inside cgi-bin folder. I also tried to keep the perl file in public_html folder but the error was the same.
This is a message:
Does this means I can't use perl srcipts as free hosting user or the problem is something else?
Thank you.
Edit [SOLVED]:
I did two things:
1) instead of cgi-bin/file.pl I put /cgi-bin/file.pl
2) removed all trailing whitespaces from my perl file and changed the file format from DOS/Windows to Unix
Best,
Jozsef
I'm using a free hosting and trying to submit a message by web form with perl script, but I'm getting some Internal Message Error after clicking on Send button.
I placed the perl file inside cgi-bin folder. I also tried to keep the perl file in public_html folder but the error was the same.
This is a message:
Code:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@jozefk.co.cc and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
Does this means I can't use perl srcipts as free hosting user or the problem is something else?
Thank you.
Edit [SOLVED]:
I did two things:
1) instead of cgi-bin/file.pl I put /cgi-bin/file.pl
2) removed all trailing whitespaces from my perl file and changed the file format from DOS/Windows to Unix
Best,
Jozsef
Last edited: