OK, I found a perl script, which was kind of simple to edit. I changed the extension from .pl to .cgi at the suggestion of the writer. Now, when I tried to use it, I got server errors. When it's in my cgi-bin folder, with permission set to 775, I get the following:
Reading other posts, I uploaded the script in binary ASCII mode to the cgi-bin folder. When that didn't work, I read more posts and follwed the suggestion to move it to the public_html root folder and set permission for that folder to 775 also. And yes, I changed the path for the script in my html file. When I did that, I got the following:
So what the heck? No one has been able to solve this problem yet. Here is the top part of my form:
Hopefully someone can tell me how to get it working on Frihost.
| Quote: |
| Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@wnstudios.ca 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. |
Reading other posts, I uploaded the script in binary ASCII mode to the cgi-bin folder. When that didn't work, I read more posts and follwed the suggestion to move it to the public_html root folder and set permission for that folder to 775 also. And yes, I changed the path for the script in my html file. When I did that, I got the following:
| Quote: |
| Forbidden
You don't have permission to access /formmail.cgi on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.34 Server at www.wnstudios.ca Port 80 |
So what the heck? No one has been able to solve this problem yet. Here is the top part of my form:
| Code: |
| <form action="formmail.cgi" method="post" name="Estimate" id="Estimate"> |
Hopefully someone can tell me how to get it working on Frihost.
