2003-12-19 Howto WebDAV (almost) for free Webserver: Apache 1.3 System: Win2K * Get precompiled 'mod_dav.dll' * Locate your Apache home * Copy 'mod_dav.dll' to your Apache home * Create a test directory (to be webshared) * Locate your Apache configuration file (aka httpd.conf) * Declare 'mod_dav.dll' * Declare 'DAVLockDB' * Webshare your test directory * Davshare your test webshare * Restart Apache service How to get precompiled 'mod_dav.dll' http://www.webdav.org/mod_dav/win32/ How to locate your Apache home > Your Apache home is where 'apache.exe' is. How to copy 'mod_dav.dll' to your Apache home Win2K: N/A. Unix: To be continued. How to create a test directory (to be webshared) > On your hard drive. Win2K: To be continued. Unix: To be continued. How to locate your Apache configuration file (aka httpd.conf) > Your Apache configuration file is in your Apache home, under a directory named 'conf'. How to declare 'mod_dav.dll' > Edit your Apache configuration file (aka httpd.conf). > Please paste the following: LoadModule dav_module mod_dav.dll > Right below the latest 'LoadModule ...' line. > Please paste the following: AddModule mod_dav.c > Right below the latest 'AddModule ...' line. How to declare 'DAVLockDB' (for DAV operation) > Edit your Apache configuration file (aka httpd.conf). > Please paste the following: DAVLockDB /temp/LockDB > Anywhere between existing 'Alias' lines. How to webshare your test directory NOTE: The use of backslashes "\", such as in "C:\" (that is, DOS-like path separator) is not allowed within Apache httpd.conf and the like. Please use forward slashes instead, such as "C:/". Otherwise you will get the following message: ---cut here--- "Error - The current operation cannot be completed because an unexpected error has occurred." ---cut here--- > Edit your Apache configuration file (aka httpd.conf). > Please find a sample DAV publishing of "C:\" drive - equally called "C:/" or "c:/" (lowercase drive-letter is allowed). Please paste the following: Alias "/mycdrive" "c:/" > Somewhere between the following tags: # Please paste your sample webshare here # End of aliases. How to davshare your test webshare > Edit your Apache configuration file (aka httpd.conf). > Please paste the following: Dav On ForceType text/plain NOTE: 'ForceType text/plain' forces ANY type of "programming" document (such a .php) to be opened "as is" - without having Apache to interpret their code in any manner. How to restart Apache service > Open a command prompt: - Start > Execute > cmd > Please paste the following to launch the 'Services' control panel: %SystemRoot%\system32\services.msc /s > Select 'Apache' service, right-click and press 'Restart' best> Paul Paul Merino CKO Seuils.org http://seuils.org