Stefan Dürrenberger wrote:
Am Freitag, den 15.10.2010, 15:06 -0600 schrieb Brian Hirt:
Maybe you can run a different apache process with the version of PHP you need 
on a different port and use mod_rewrite/mod_proxy from the public apache?

It would work, but it seems complicated. There should really be a way to
configure this in one apache instance. I'm confused why it does work
for .php4-extensions, but not .php. But thanks, if I can't resolve this,
it's a workaround to try.

I don't know the code - but it seems that using AddType will not necessarily *override* the existing MIME association at some higher precedence. Have you tried ForceType in an appropriate context with your php4-specific scripts? Something like:

<FilesMatch "\.php$|\.php4$">
  ForceType php4-cgi
</FilesMatch>

-- D Mansfield

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to