Re: Problem with php-fcgi and special URLS

"Eric Covener" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On 9/11/06, Marco Weber <[email protected]> wrote:
> Hi @All,
>
> I'm using SuSE10 with apache2, fastcgi, php5 (fcgi-version) and php4 (as
> module).
> ( I'm using php with fcgi for 1,5 years on many hosts. )
>
> When i load the following special url:
> http://my.host.tld/file.php4/param1/param2 everything works as it should.
>
> But when i load the following special url:
> http://my.host.tld/file.php5/param1/param2 i get an "No input file
> specified." messsage.
> ( Directly loading the URL works... http://my.host.tld/file.php5 )

You didn't mention AcceptPathInfo -- so that hint may be valuable to you.
It appears that mod_fastcgi always accepts PATH_INFO though.

You could log PATH_TRANSLATED and PATH_INFO in your little php wrapper
to get a better handle on what's going on (setting these in a terminal
will probably show you that the Action directive may not be setting
PATH_TRANSLATED)


>   Options ExecCGI -MultiViews +SymLinksIfOwnerMatch -Indexes -Includes

Don't mix options with + or - and options without + or -, results are undefined.

-- 
Eric Covener
[email protected]
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.