Formmail.pl errors on submission

rszkutak

Verified User
Joined
Dec 22, 2003
Messages
173
Location
Scottsdale, AZ & Clam Gulch, AK
I have a developer doing work for a client and he insists that i dont have a module installed on the server to run formmail.

My installation of DA is pretty basic, with no extra garbage installed on it. When you go to the contact us form the error we recieve is this:

Not Found
The requested URL /server-scripts/formmail/FormMail.pl was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a PHP/4.4.9 FrontPage/5.0.2.2634 mod_perl/2.0.3 Perl/v5.8.5 Server at dixonbrospainting.com Port 80


I seem to think this problem is something related to the coding on his webpage, however since i'm hardly a web desinger i can tell you next to nothing about the design.

Does anyone have some advice they can tell me about this, and or how to resolve this and assist the developer in getting it to work ?

Thanks,
 
That just means the form wasn't coded with the correct path to the formmail script. Where did the developer upload Formmail.pl to?
 
i dont think he ever did, he's indicating that its something that has to be installed from the server admin, not by the developer. I think he's full of it, but like i said, i'm not a deveoper.

by the way he's using dreamweaver and "publishing" his site that way, so natually i assume that dreamweaver doesn't upload this stuff.

Is thier a place that i can upload formmail.pl to on the server for his site so he can program up for it ?
 
His form page is calling for it within "/server-scripts/formmail/", so you can put it there and see if it works.
 
His form page is calling for it within "/server-scripts/formmail/", so you can put it there and see if it works.

So to clairfy i want to install "formmail.pl" into a directory on his website called /server-scripts/formmail/ and of course issue the correct chmod for it.

where would one download the formmail.pl script from ?


Thanks,
 
i guess i'm not getting it, i downloaded it and created the directory on the website and uploaded it into the directory that it was clammering about.

do i need to go in as root and create this directory as root in the root of the hard drive ../server-scripts/formmail/
 
The problem is that the script must be run as CGI by Apache.
I suggest placing it in cgi-bin/ instead of playing with directory permissions, then instructing your beloved customer to change the path to the script.
 
Here's the latest error message that the developer recieves... any input woucl be great.

Internal Server Error

"The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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.
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a PHP/4.4.9 FrontPage/5.0.2.2634 mod_perl/2.0.3 Perl/v5.8.5 Server at dixonbrospainting.com Port 80"


Script it located at : /cgi-bin/formmail.pl
 
That's a 500 errror, useful information can be found in /var/log/httpd/domains/$domain.error.log.
 
I thought i had it CHMOD 755, but something reset it back to 644. I changed to CHMOD 755 and got another error, looks to be getting closer.

Bad Referrer - Access Denied
The form attempting to use FormMail resides at http://dixonbrospainting.com/dixon_contact_us.html, which is not allowed to access this cgi script.
If you are attempting to configure FormMail to run with this form, you need to add the following to @referers, explained in detail in the README file.

Add 'dixonbrospainting.com' to your @referers array.


--------------------------------------------------------------------------------

FormMail V1.92 © 1995 - 2002 Matt Wright
A Free Product of Matt's Script Archive, Inc.
 
So edit the formmail.pl perl file with your favorite editor and look for the @referrers line and add in your domain there.

@referers = ('dixonbrospainting.com');
 
Do what the instructions tell you.

Add 'dixonbrospainting.com' to your @referers array.

You have to configure the script itself. You cannot just upload it and think that it is going to work.
 
Do what the instructions tell you.



You have to configure the script itself. You cannot just upload it and think that it is going to work.

yea, that's wishful thinking huh ? Gosh i hate doing the job that a web designer was paid to do... lol!

I figured that one out pretty quickly by reading the FAQ and am on another issue with it, but i think i'm getting there!

SO far thanks for ALL the help!
 
yea, that's wishful thinking huh ? Gosh i hate doing the job that a web designer was paid to do... lol!

I figured that one out pretty quickly by reading the FAQ and am on another issue with it, but i think i'm getting there!

SO far thanks for ALL the help!

I'd ask for a refund.
 
Back
Top