Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-21-2013, 06:12 PM   PM User | #1
spulver0
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
spulver0 is an unknown quantity at this point
FormMail Error - File Not Found on Server

Hello there. I am so unbelievably frustrated right now, ANY advice would be extremely helpful.

I am trying to use the popular FormMail script in order to process a contact form on my website (http://www.sarabinspired.com/contact.html)

When I try to submit my form I get the following error message:

"Not Found
The requested URL /cgi-bin/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.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Server at www.sarabinspired.com Port 80"


The html for this form is:
Code:
<form id="form1" method="post" action="http://www.sarabinspired.com/cgi-bin/FormMail.pl">

<input type="hidden" name="redirect" value="http://www.sarabinspired.com/thankyou.html" />
<input type="hidden" name="required" value="name, email, message" />
I have installed the FormMail.pl file into my cgi-bin using ASCII and CHMOD 755. I looked at numerous resolutions for this same problem, and none of them have worked for me yet. I do not have a hidden htacces file, and my EXTREMELY unhelpful host says that there should be no issues with my cgi-bin, or this particular script.

I am so confused, an would really appreciate it if anybody had any suggestions. Help!
spulver0 is offline   Reply With Quote
Old 01-23-2013, 10:19 PM   PM User | #2
mattsc
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
mattsc is an unknown quantity at this point
Are you sure your cgi-bin permissions are correct? You gave the file permissions, but what about the actual directory.
mattsc is offline   Reply With Quote
Users who have thanked mattsc for this post:
spulver0 (01-24-2013)
Old 01-24-2013, 11:04 PM   PM User | #3
spulver0
New to the CF scene

 
Join Date: Jan 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
spulver0 is an unknown quantity at this point
Yes, the file permissions on the cgi-bin directory are correct as well.
It has to be something really simple like that though. Usually if I walk away from a project, by the time I return with fresh eyes the answer is staring me in the face. I hope that happens this time!
Thanks for your reply.
spulver0 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:47 PM.


Advertisement
Log in to turn off these ads.