Progetto

Generale

Profilo

Actions

Apache22DavLdap » Cronologia » Versione 3

« Precedente | Versione 3/14 (diff) | Successivo »
Amministratore Truelite, 30-10-2007 13:13


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>

}}}

AuthzLDAPAuthoritative Directive
Description: Prevent other authentication modules from authenticating the user if this one fails

Aggiornato da Amministratore Truelite oltre 16 anni fa · 3 revisions