Apache22DavLdap » History » Revision 2

« Previous | Revision 2/14 (diff) | Next »
Amministratore Truelite, 10/30/2007 01:13 PM

Apache2.2 Webdav Ldap

NameVirtualHost *
LDAPTrustedMode SSL
LDAPVerifyServerCert Off
<VirtualHost *>

DocumentRoot /data/music
&lt;Directory /&gt;
Options FollowSymLinks
AllowOverride None
&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/
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
ErrorLog /var/log/apache2/error.log
  1. Possible values include: debug, info, notice, warn, error, crit, # 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://,dc=truelite,dc=it?uid
    AuthzLDAPAuthoritative Off
    require valid-user



Updated by Amministratore Truelite almost 14 years ago · 2 revisions