Debian+Apache2+DAV
I have successfully enabled the mods with LoadModule but can not get this to work.
Regards, Steve
2 Replies
<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.