PHP parsing weirdness using DAV...
| From: | Lou Picciano | Date: | Mon, 24 Feb 2003 23:21:21 +0000 |
| Subject: | PHP parsing weirdness using DAV... | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10180@lists.php.net to get a copy of this message | ||
Dear All:
Am trying this again ...
--------------------------------
A question regarding php (4.3), Apache (2.0.44) and mod_dav:
Under Solaris 9 SPARC, we have the above setup working AOK using Apache
2¹s filtering¹ mechanism to handle php processing... It works great! *
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
PS - (BTW, We found that the traditional 'AddType' model for handling php
files no longer works under apache 2...)