Failing to configure fastcgi on Apache2
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Organization | NetRegistry Pty Ltd |
| Message-ID | <[email protected]> |
Hello,
I'm trying to configure php4 as an external fast-cgi handler
on Apache2 on top of Debian Testing (x86).
I Follow the instructions in the following links:
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html
as well as the second comment under:
http://php.planetmirror.com/install.unix.commandline
I have the following configuration files:
/etc/apache2/apache2.conf is the default from the debian package,
nothing relating to fastcgi or php is mentioned there. The
document root is set to be directory "test" under my home
directory, which contains a few .php files.
The only enabled modules are "fastcgi" and "action", the fastcgi.conf
file is:
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
#FastCgiWrapper /usr/lib/apache2/suexec2
FastCgiIpcDir /var/lib/apache2/fastcgi
</IfModule>
And the additional configuration for fastcgi is in an additional
file which reads:
<Location /fcgi-bin/ >
Options ExecCGI
SetHandler fastcgi-script
</Location>
FastCgiExternalServer /fcgi-bin/phpfcgi -host 127.0.0.1:9999
AddType application/x-httpd-fastphp php cphp php4
Action application/x-httpd-fastphp /fcgi-bin/phpfcgi
When I try to access the site ("http://localhost/test1.php") I get
an error:
The requested URL /fcgi-bin/phpfcgi/test1.php was not found on this
server.
And in the apache2 errors log I get:
[error] [client 127.0.0.1] (2)No such file or directory: FastCGI: stat()
of "/home/amos/test/fcgi-bin" failed
Searching around for answers and hints haven't yielded any results.
Thanks for your help,
--Amos
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/