Project

General

Profile

Apache22DavLdap » History » Version 2

« Previous - Version 2/14 (diff) - Next » - Current version
Amministratore Truelite, 10/30/2007 01:13 PM


Apache2.2 Webdav Ldap

{{{
NameVirtualHost *
LDAPTrustedMode SSL
LDAPVerifyServerCert Off
<VirtualHost *>
ServerAdmin

DocumentRoot /data/music
&lt;Directory /&gt;
Options FollowSymLinks
AllowOverride None
&lt;/Directory&gt;
&lt;Directory /data/music/&gt;
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
&lt;/Directory&gt;
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
&lt;Directory "/usr/lib/cgi-bin"&gt;
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
&lt;/Directory&gt;
ErrorLog /var/log/apache2/error.log
  1. Possible values include: debug, info, notice, warn, error, crit,
  2. alert, emerg.
    LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
  1. Note Alias goes to our DocumentRoot.
    Alias /webdav /data/music/
  1. But we apply different settings
    <Location /webdav>
    DAV On
    AuthName "Truelite"
    AuthType Basic
    AuthBasicProvider ldap
    AuthLDAPURL ldaps://ldap.fi.trl/ou=People,dc=truelite,dc=it?uid
    AuthzLDAPAuthoritative Off
    require valid-user
    </Location>

</VirtualHost>

}}}