Weirdness using Apache 2.0.44 / php 4.3 / DAV

Weirdness using Apache 2.0.44 / php 4.3 / DAV

Post by Lou Piccian » Mon, 24 Feb 2003 09:21:38

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
21s ?filtering1 mechanism to handle php processing...  It works great!  *

Commands in http.conf are:

<Files *.php>
   SetOutputFilter php
   SetInputFilter php

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
?processed1 before coming over, as would be the case in a ?normally-browsed1
setting.  Other files copy over directly, as would be expected.

Response from HTTP is ?2001 when a DAV client attempts to ?GET1 a .php file
- which is actually an ?everything worked OK1 message.

Within the DAV <Directory> context, we1ve tried the RemoveOutputFilter php
and RemoveType php commands, with no luck.

Has anyone run into this?  Probably so simple you1ve 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...)


1. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK


        I've been assigned the task of building an Apache server with
support for Sybase, PHP4, OpenSSL 0.9.6/mod_ssl ?, and apache 1.3.14.

I followed Israel Denis Jr/Eugene Otto's "The Soothingly Seamless
Setup of Apache, SSL, MySQL, and PHP" at DevShed, but compilation of
apache fails if I add PHP.  The same procedure w/out PHP works OK
(either port 80 or port 443.) As a non-developper, I'm totally in the

[/home/samba/temp/Apache/apache_1.3.14]# SSL_BASE=../openssl-0.9.6
/configure --enable-module=ssl
--activate-module=src/modules/php4/libphp4.a --enable-module=php4

Configuring for Apache, Version 1.3.14
-L/home/samba/temp/Apache/openssl-0.9.6  -o helpers/dummy
helpers/dummy.c   -rdynamic -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv   -lm -lcrypt  -lssl -lcrypto
/usr/bin/ld: cannot find -lmodphp4
collect2: ld returned 1 exit status
make: *** [dummy] Error 1

Any idea?


2. Internet gateway

3. Using Apache + PHP4 on AIX 4.2/4.3

4. Top 10 subjects

5. Compilation pb - Apache 2.0.44 - Solaris 8

6. Caldera and PartionMagic Problem

7. Apache 2.0.44 binaries

8. Back up <><><>

9. Compile error on AIX 433 Apache 2.0.44

10. Apache/2.0.44 (Win32) Server - how to log server entry , downloads , etc

11. Apache 2.0.44 Released

12. Apache 2.0.44 and Solaris 8 compile errors

13. apachectl.8 and httpd.8 intentionally removed in Apache 2.0.44?