It’s very rare for PHP files to be in the cgi-bin folder or even need to be. There was a time (mid-90s) when this was common, but it has not been the norm for many years. If you have a file in the cgi-bin folder, it usually needs to have its Unix permissions set so that it is executable (755 or 775). You will need to use an FTP or SFTP application like Transmit to make this change, and your user (login on the server) will need to have sufficient permissions over that file and the cgi-bin folder to allow that change. (Lots of moving parts there.)
Here’s something else I’d like you to try. Using a plain-text editor like TextWrangler (free from http://barebones.com ), create a new file called test.php. In that file, place the following three lines of code, and save it.
<?php
phpinfo();
?>
Upload that file to your Web root folder (alongside your index.html file and whatnot). Then go to yourdomain.com and see what you see. (Substitute your own domain for this example one, naturally.)
If you see a tall page with tons of technical detail, congratulations! Your server is running a normal version of Apache + PHP, and you can use Tim Plumb’s PHP Feedback Form Action in Freeway and get entirely away from the CGI business.
Do delete that test.php file from your server after this test, though, as it contains a lot of detailed information that an attacker could use to compromise your server.
Walter
On Dec 28, 2011, at 9:35 AM, Jay Leyer wrote:
Having a problem with formmail.php working on www.alanlowellseminars.com/alsorder.html
Order when submitted returns a host default error page indicating request not available.
I have the form setup method as POST to:
<action=“https://alanlowellseminars.com/cgi-bin/formmail.php” name=alsorder">
and the formmail.php script is located in the cgi-bin on the server.
Can someone review this and give guidance.
Any help is greatly appreciated
Anthony
Orlando FL
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options