What does HTTP Error 404 - |
|
Answer: If you see the error: Not Found The requested URL /cgi-bin/formmail.pl was not found on this server. A 404 - /cgi-bin/formmail.pl File Not Found error means that the FREE UNIX formmail CGI script is not yet installed to the proper directory on your server. There are only two ways this can happen. 1. You are using PayPal for UNIX and have not first published the store with the UNIX only setting. 2. Your web server does not store the cgi-bin folder in the same folder as your web documents. If reason #1 is the cause:
If you originally were trying to use PayPal for UNIX After you install the script you can then CANCEL the publishing by closing the publishing wizard, THEN change your Server Type back to PayPal for UNIX and the next time you publish everything should work fine. Note: When changing checkout options it is not necessary to rebuild the entire store each time. The only file that needs to be published after changing the checkout parameters are pay.html and secure-pay.html. How to upload this script manually.For complete information on how to configure and upload this script manually please visit this page. If reason #2 is the cause: What to do if formmail.pl is already in your cgi-bin folderIt can be confusing if you see the formmail.pl script in your cgi folder yet you still receive a 404 File Not Found error when you try placing an order. The reason this happens is because your web server configuration ALREADY had a cgi-bin folder located somewhere outside of your web documents folder. (The cgi-bin folder you are seeing formmail in is the one RealCart created when it uploaded your files, NOT the one your web server was already using.) If your web hosting plan came with cgi access then it probably already had a cgi-folder located on your server in a folder other than the cgi folder youre looking in. The server that houses RealCart.com, for example, has the cgi-bin folder here:
/usr/local/etc/httpd/cgi-binHowever, the web documents that make up the RealCart.com site are located here:
/usr/local/etc/httpd/htdocsTherefore if we published formmail.pl with the RealCart program itself we would end up with a second cgi folder located here:
/usr/local/etc/httpd/htdocs/cgi-bininstead of here:
/usr/local/etc/httpd/cgi-binSince web servers can be configured any number of different ways there is no way to tell exactly where this folder will be on every server. While a great deal of them store the cgi-bin folder in the web documents folder, others do not. This is when uploading formmail.pl manually becomes necessary. SOLUTION: Locate your real cgi folder and manually upload formmail to this folder. Usually the location of your cgi folder and your web documents folder is provided to you in the setup instructions provided to you by your web hosting provider. |