Ken
I was able to upload the file using WS FTP, with ASCII transfer mode, chmod 755 settings. The file appears in the cgi bin as "formmail.cgi". When I fill out an order form on my website and click "submit", I get the following error:
"The server encountered an internal error or misconfiguration and was unable to complete your request."
In my form I have entered the following line:
action="/cgi-bin/formmail/formmail.cgi
I have modified the formmail.cgi file provided by my server company, by adding the following line:
@referers = ('example.ca','https://www.example.c2.example2.com')
I was told that I need to add my third-level domain to the @#referers list. Not sure if I've done this correctly or not.
Please help.
kenny
[edited by: coopster at 11:03 pm (utc) on Sep. 28, 2005]
[edit reason] removed url and generalized urls [/edit]
maybe this:
action="/cgi-bin/formmail/formmail.cgi"
should be:
action="/cgi-bin/formmail.cgi"
make sure the path to perl is correct for your server, the fisrt line of the script:
#!/usr/bin/perl
that is the most common one but some servers are different.
Kenny
Tested my order form, and got the "Success!" page, but I never received the email.
Go figure! I'm starting to get that lost, lonely feeling ... should go find a forum for idiots somewhere?
Kenny
Personally I think you should use the NMS version of that script though:
mods: please don't remove the URL. I have no connection with NMS and always recommend it over MSA equivalents.