I am helping janeth troubleshoot some script for an input to sendmail using "formmail".
First was 'Internal Server error"
I was able to figure out that the file had to be named .cgi and got " #!/usr/local/bin/perl " figured out in the script.
I then got "No Permission to View" type errors, so I learned to SSH (after trying telneting all day which I also had to learn!) and set file permissions.
I , of course, did ' chmod 755 FormMail.cgi ' , and then tried page again.
Back to "500 Internal Error" message.
I then queried " which perl" and got this:
" no perl in (/bin:/usr/local/bin:/usr/bin:.) "!
It is apache running linux, I've never done this before, what the heck! I used a script to test if perl is working, both it and formmail work on
my server, so I know that the script is proper.
It just seems odd that I would get a "permission" error, then get the "500" error again. All I can think is that the file was ftp'ed in binary. I used dreamweaver, it works on my Win2K server, I'm Needing help, please!
It's for janeth's site, and my learning. Thanks very much !
Submit Your Article
Forum Rules

Reply With Quote