Debian+Apache2+DAV

I'm trying to configure Apache2 and webdav and I am posting this is the hopes that someone can share a snippet of their apache2.conf (httpd.conf) file that uses the 'DAV on' directive.

I have successfully enabled the mods with LoadModule but can not get this to work.

Regards, Steve

2 Replies

My httpd.conf's something like: (domain names changed, of course)

 <virtualhost 66.160.xxx.xxx="">ScriptAlias /cgi-php/ /vhost/_/usr/bin/php
Action php4-script /cgi-php/php
 <location>Dav On
 AuthType Basic
 AuthName "DAV Publishing System"
 AuthUserFile /vhost/_/etc/httpd.userpasswd
  <limitexcept get="" options="">require valid-user</limitexcept></location> 
 <directory vhost="">AllowOverride All
 Options +Indexes
 Dav On</directory> 
 VirtualDocumentRoot /vhost/%-2.0.%-1.0/%-3+
 VirtualScriptAlias  /vhost/%-2.0.%-1.0.cgi/%-3+</virtualhost> 

Of course, that configuration makes all virtual domains have WebDAV by default, and all domains use the same authentication file.

Thanks. I was missing the whole AuthUserFile portion. Also found a nice howto at: http://www.twilight-systems.com/flacco/ … 2-rh9.html">http://www.twilight-systems.com/flacco/mozcal/mozcal-webdav-apache2-rh9.html

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct