42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
|
<VirtualHost 127.0.0.1:80>
|
||
|
ServerAdmin jan@davhost.example.com
|
||
|
ServerName davhost.example.com
|
||
|
|
||
|
DavLockDb /var/run/apache2/davlock/davhost.example.com
|
||
|
DocumentRoot /var/www/html
|
||
|
Alias /davadmin /usr/local/davadmin-0.1/admin
|
||
|
|
||
|
php_admin_value allow_call_time_pass_reference 1
|
||
|
<Directory /var/www/html/dav>
|
||
|
Dav on
|
||
|
AllowOverride AuthConfig Indexes
|
||
|
Order Allow,Deny
|
||
|
allow from all
|
||
|
</Directory>
|
||
|
|
||
|
<Location /davadmin>
|
||
|
AuthType Digest
|
||
|
AuthName "WebDAV Administration"
|
||
|
AuthDigestDomain /davadmin http://davhost.example.com/davadmin
|
||
|
|
||
|
SetEnv DavAdminConfDir /var/www/conf
|
||
|
|
||
|
AuthDigestProvider file
|
||
|
AuthUserFile /var/www/auth/davadmin.htdigest
|
||
|
require valid-user
|
||
|
</Location>
|
||
|
|
||
|
<Location /dav/>
|
||
|
AuthType Digest
|
||
|
AuthName "WebDAV on davhost.example.com"
|
||
|
AuthDigestDomain /dav/
|
||
|
|
||
|
AuthDigestProvider file
|
||
|
AuthUserFile /var/www/auth/dav.htdigest
|
||
|
AuthGroupFile /var/www/auth/dav.groups
|
||
|
</Location>
|
||
|
|
||
|
ErrorLog /var/log/apache2/davhost.example.com_error.log
|
||
|
LogLevel warn
|
||
|
CustomLog /var/log/apache2/davhost.example.com_access.log combined
|
||
|
</VirtualHost>
|