Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Debian+Apache2+DAV

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
sprouse



Joined: 31 Mar 2004
Posts: 7

Posted: Sat Jun 26, 2004 11:37 am    Post subject: 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
Back to top  
hcblue



Joined: 07 Apr 2004
Posts: 3

Posted: Sat Jun 26, 2004 1:48 pm    Post subject:  

My httpd.conf's something like: (domain names changed, of course)
Code:
<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.
Back to top  
sprouse



Joined: 31 Mar 2004
Posts: 7

Posted: Sun Jun 27, 2004 9:06 am    Post subject:  

Thanks. I was missing the whole AuthUserFile portion. Also found a nice howto at: http://www.twilight-systems.com/flacco/mozcal/mozcal-webdav-apache2-rh9.html
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1