Problem with php-fcgi and special URLS
Marco Weber <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
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 )
Here is my configuration:
( i've just extracted the important parts from my apache configuration... )
<IfModule mod_fastcgi.c>
FastCgiWrapper /usr/sbin/suexec2
</IfModule>
Action application/x-httpd-php5-fcgi /fcgi-bin/php5-fcgi
AddType application/x-httpd-php5-fcgi .php .php5
# user and directory settings
SuexecUserGroup usr1002 wwwusers
ScriptAlias /fcgi-bin/ /srv/fcgi/usr1002/fcgi-bin/
<Directory "/srv/fcgi/usr1002/fcgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch -Indexes -Includes
Order allow,deny
Allow from all
</Directory>
My starter script is located under: /srv/fcgi/usr1002/fcgi-bin/php5-fcgi
#!/bin/sh
PHPRC="/srv/fcgi/usr1002/php5/"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
exec '/srv/fastcgi/php5/bin/php'
I know the problem is, that fastcgi tries to call:
/file.php5/param1/param2 instead of calling /file.php5
What can i do, so that those special URLs work with php-fcgi?
Thanks in advance for any help.
See you Marco
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/