Remove modules from apache on configure

v998

Verified User
Joined
Jun 27, 2014
Messages
14
hi,
i want to remove the mod_dav from my apache, but it is installed with custombuild 2.0 on configure.
i have followed http://help.directadmin.com/item.php?id=191 (reversely) to remove the lines
"--enable-dav" \
"--enable-dav-fs" \
"--enable-dav-lock" \
from custom/ap2/configure.apache
however, it didn't work, after it rebuilt, mod_dav is still shown in apachectl -M, i am still able to connect the WebDAV
Any ideas that i can remove the mod_dav?
 
You should replace
Code:
[COLOR=#333333]"--enable-dav" \[/COLOR]
[COLOR=#333333]"--enable-dav-fs" \[/COLOR]
[COLOR=#333333]"--enable-dav-lock" \[/COLOR]

With:
Code:
[COLOR=#333333]"--disable-dav" \[/COLOR]
[COLOR=#333333]"--disable-dav-fs" \[/COLOR]
[COLOR=#333333]"--disable-dav-lock" \[/COLOR]

Don't forget to comment the following line out in httpd.conf (and copy the conf file to /usr/local/directadmin/custombuild/custom/ap2/conf afterwards):
Code:
Include conf/extra/httpd-dav.conf

Good luck! :)
 
Back
Top