Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Debian+Apache2+DAV
PostPosted: Sat Jun 26, 2004 12:37 pm 
Offline
Senior Newbie
User avatar

Joined: Wed Mar 31, 2004 8:50 pm
Posts: 7
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


Top
   
 Post subject:
PostPosted: Sat Jun 26, 2004 2:48 pm 
Offline
Newbie

Joined: Wed Apr 07, 2004 4:08 am
Posts: 3
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.


Top
   
 Post subject:
PostPosted: Sun Jun 27, 2004 10:06 am 
Offline
Senior Newbie
User avatar

Joined: Wed Mar 31, 2004 8:50 pm
Posts: 7
Thanks. I was missing the whole AuthUserFile portion. Also found a nice howto at: http://www.twilight-systems.com/flacco/ ... 2-rh9.html


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group