mod_fastcgi + apache + file on local filesystem
Andrzej Nakonieczny <anakonieczny.fastcgi-developers-Squ/[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Hello! I have an apache (2.2.3) with mod_fastcgi (2.4.2) on frontend server and php on backend server. It works good but I'm wondering why apache needs to have php file on local filesystem. In mod_fastcgi's docs is wrote that "The filename does not have to exist in the local filesystem.". Is it true? When I have php file only on a backend server apache wrote to log file: ----------------------------------------------------------------------- my_station - - [25/Jan/2008:14:14:40 +0100] "GET /check.php HTTP/1.1" 404 208 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061206 BonEcho/2.0" ----------------------------------------------------------------------- But if I add (for example) empty file (check.php) on a frontend server all works fine. What can I do to change this behavior? This is my (mod_fastcgi) config file on apache: ----------------------------------------------------------------------- LoadModule fastcgi_module modules/mod_fastcgi.so FastCGIExternalServer /var/www/cgi-bin/php -host ip_backend:32001 -idle-timeout 240 -appConnTimeout 0 Action php-fastcgi /cgi-bin/php AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php5 AddHandler php-fastcgi .php AddHandler php-fastcgi .php4 AddHandler php-fastcgi .php5 ----------------------------------------------------------------------- Thanks for any help. Andrzej ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/