All pastes #334840 Raw Edit

hillct

public text v1 · immutable
#334840 ·published 2007-01-31 22:26 UTC
rendered paste body
 I'm using both mod_fastcgi and mod_proxy. mod_fastcgi should andle .php. Everything else found in the doc root should be handled statically. Everything not found should be passed to mod_proxy. For some reason, files with .php extensions are being passed to mod_proxy rather than mod_fastcgi. I checked te order in which the modules are loaded. fastcgi is loaded before proxy. .php in sincluded in static-file.exclude-extensions and the fastcgi block is defined before the proxy blocks in the config file.  the fastcgi block is defined for all vhosts whereas the proxies are defined conditionally. In vhosts where no proxy is defined, php is properly passed to fastcgi. Is there a way to get fastcgi to play nicely alongside mod_proxy?