cgi script trouble
Will my cgi script run on my web server if my mailserver is a different machine? I'm running Mandrake 9.2 and Apache 2.0
Thanks |
I can't see why not bit then it depends on what your script does.
|
cgi script trouble
The form just take some info from a web page, name address etc. and mails it to an email address, but when I test it I keep getting a 500 error.
Michele |
new info cgi script trouble
Ok, I put a -w after the /usr/bin/perl and the form came back with this error
CGI script error cannot start /usr/lib/sendmail How do I tell it to go to the other server and use that sendmail which is really postfix????? Michele |
Rather than writing directly to a sendmail program try changing it to use the MIME::Lite module and comminicate directly with your SMTP server.
|
??
Sorry, but how do I do that?
I'm assuming I substitute something in place of /usr/lib/sendmail but what does it look like? I'm a newbie. Thanks, Michele |
All times are GMT -5. The time now is 06:08 PM. |