Actions
Apache22DavLdap » Cronologia » Versione 1
Versione 1/14
| Successivo »
Amministratore Truelite, 30-10-2007 10:22
Apache2.2 Webdav Ldap
{{{
NameVirtualHost *
LDAPTrustedMode SSL
LDAPVerifyServerCert Off
<VirtualHost *>
ServerAdmin webmaster@truelite.it
DocumentRoot /data/music
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /data/music/>
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/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
- Possible values include: debug, info, notice, warn, error, crit,
- alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
- Note Alias goes to our DocumentRoot.
Alias /webdav /data/music/
- But we apply different settings
<Location /webdav>
DAV On
AuthName "Truelite Secret Music Repository"
AuthType Basic
AuthBasicProvider ldap
AuthLDAPURL ldaps://ldap.fi.trl/ou=People,dc=truelite,dc=it?uid
AuthzLDAPAuthoritative Off
require valid-user
</Location>
</VirtualHost>
}}}
Aggiornato da Amministratore Truelite circa 17 anni fa · 1 revisions