Red Hat Linux release 7.2 (Enigma)
Apache/1.3.22 (Unix) (Red-Hat/Linux)
I am having a hell of a time getting php cgi to run my script and provide PATH_INFO instead of coming back in my browser with a "No input file specified."
I want to pass parameters to my script via the 'path'. This will allow some search engines to index some of my content that is not getting indexed.
i.e.
originally
http://mysite.com/foo/myscript.php?id=7 might deliver xyz.html
new way
http://mysite.com/foo/myscript.php/xyz.html
When trying to get a page the new way I get a "No input file specified."
I don't any root control over the apache server I am assigned.
Apache is configured for me thus:
Action php4-script /cgi-bin/php
AddHandler php4-script .php .php3 .php4
My /cgi-bin/php is script file
#!/bin/sh
. /usr/aoserv/etc/postgresql-7.3.3.sh
exec /usr/php-4.3.2/bin/php