PDA

View Full Version : CGI script not working


canada_eh
01-10-2004, 09:46 PM
I uploaded the CGIMail script today and when I try to submit a form using it, i get "500 Internal Server Error". The page I'm using it on is Here (http://canadianassassins.hostrocket.com/confirm.php).

Part of the error message is also: "The server encountered an internal error or misconfiguration and was unable to complete your request."

What's wrong?

Viper007Bond
01-10-2004, 09:51 PM
Probably because it's a free account and I wasn't aware you are able to use CGI scripts that attempt to mail (no mail support comes with free accounts).

canada_eh
01-10-2004, 09:58 PM
I knew they didn't give u any, but I thought you could implement your own?

I'd be using the php mail() function rather than cgi, but thats not working!!! (see my thread in the PHP/MYSQL boards)

Viper007Bond
01-10-2004, 10:10 PM
As I said, free accounts don't get access to the mail server which is required for sending e-mails via both CGI and PHP.

canada_eh
01-11-2004, 11:00 AM
really? but at one point the php mail() function WAS working for me. Then I couldn't get it to work....I must've changed something.

Viper007Bond
01-11-2004, 11:03 AM
That's odd - it should have never worked in the first place as far as I know.

Anyway, nothing much comes free in life - if you need to be doing stuff like that, might as well invest in some paid hosting. You can find some pretty cheap if you only need a few MB and a little b/w.

canada_eh
01-11-2004, 11:45 AM
alright, thanks for all the help and info.

Do you know if host rocket supports any way of sending mail from a form? Like using the html and/or javascript way?

Viper007Bond
01-11-2004, 05:48 PM
Let me try this again.

Sending an e-mail via a website automatically requires access to a mail server.

Free websites here don't get access to a mail server.

So... ;)