PHP filtering in Apache / mod_dav
| From: | Lou Picciano | Date: | Thu, 20 Feb 2003 20:40:29 +0000 |
| Subject: | PHP filtering in Apache / mod_dav | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10131@lists.php.net to get a copy of this message | ||
Dear List Friends:
A question regarding php (4.3), Apache (2.0.44) and mod_dav:
We have the above setup working AOK using Apache 2¹s filtering¹
mechanism to handle php processing (we¹ve been talking about this elsewhere
on this list)
Commands in http.conf are:
<Files *.php>
SetOutputFilter php
SetInputFilter php
</Files>
DAV is ON for (a given) directory, and the DAV setup in general works well
for the range of clients we are using, except for...
The Problem: In connecting to the site from a DAV client, any php files are
processed¹ before coming over, as would be the case in a normally-browsed¹
setting. Other files copy over directly, as would be expected.
Response from HTTP is 200¹ when a DAV client attempts to GET¹ a .php file
- which is actually an everything worked OK¹ message.
Within the DAV <Directory> context, we¹ve tried the RemoveOutputFilter php
and RemoveType php commands, with no luck.
Has anyone run into this? Probably so simple you¹ve all seen it already...
Lou Picciano
Essex Systems