ARGH!!!
I have been banging my head trying to get apache2.2 to work as/with webdav.
Although I am fairly new to linux, I am not a total noob lol so followed my nose and tried to get it working.
I discovered plenty of information on what webdav is and so on and a lovely website mod_dav Installation and Configuration which has apache install instructions. The problem is, I think these relate to Apache 1.3.x as when I run the command
./configure --with-apache=/usr/local/apache2
(which is where apache2 defaults its install to) I am told
checking for static Apache module support… no - Unable to locate /usr/local/apache2/src/include/httpd.h
checking for dynamic Apache module support (via APXS)… no
configure: error: You need to point --with-apache at the base Apache source code directory
and the installer quits.
I compiled apache2.2 from the source code (stored in /home/badger_fruit/httpd/) so tried
./configure --with-apache=/home/badger_fruit/httpd
but received the same error
checking for static Apache module support… no - Unable to locate /home/badger_fruit/httpd/src/include/httpd.h
checking for dynamic Apache module support (via APXS)… no
configure: error: You need to point --with-apache at the base Apache source code directory
i did a
find / -name httpd.h
as root and it found two entries:-
(1) /usr/local/apache2/include/httpd.h
(2) /home/badger_fruit/httpd/include/httpd.h
(1) is the one that Apache2.2 installs
(2) is the one I compiled from
Question: Is there a way of changing where the webdav installer (./configure) looks for these files?
I think if I can do this then it might just work (or at least move on to another error!!)