Apache22DavLdap » Cronologia » Versione 4
Amministratore Truelite, 30-10-2007 13:14
1 | 1 | Amministratore Truelite | == Apache2.2 Webdav Ldap == |
---|---|---|---|
2 | |||
3 | {{{ |
||
4 | NameVirtualHost * |
||
5 | LDAPTrustedMode SSL |
||
6 | LDAPVerifyServerCert Off |
||
7 | <VirtualHost *> |
||
8 | ServerAdmin webmaster@truelite.it |
||
9 | |||
10 | 4 | Amministratore Truelite | DocumentRoot /data/ |
11 | 1 | Amministratore Truelite | <Directory /> |
12 | Options FollowSymLinks |
||
13 | AllowOverride None |
||
14 | </Directory> |
||
15 | 4 | Amministratore Truelite | <Directory /data/> |
16 | 1 | Amministratore Truelite | Options Indexes FollowSymLinks MultiViews |
17 | AllowOverride None |
||
18 | Order allow,deny |
||
19 | allow from all |
||
20 | # This directive allows us to have apache2's default start page |
||
21 | # in /apache2-default/, but still have / go to the right place |
||
22 | #RedirectMatch ^/$ /apache2-default/ |
||
23 | </Directory> |
||
24 | |||
25 | ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ |
||
26 | <Directory "/usr/lib/cgi-bin"> |
||
27 | AllowOverride None |
||
28 | Options ExecCGI -MultiViews +SymLinksIfOwnerMatch |
||
29 | Order allow,deny |
||
30 | Allow from all |
||
31 | </Directory> |
||
32 | |||
33 | ErrorLog /var/log/apache2/error.log |
||
34 | |||
35 | # Possible values include: debug, info, notice, warn, error, crit, |
||
36 | # alert, emerg. |
||
37 | LogLevel warn |
||
38 | |||
39 | CustomLog /var/log/apache2/access.log combined |
||
40 | ServerSignature On |
||
41 | |||
42 | |||
43 | # Note Alias goes to our DocumentRoot. |
||
44 | 4 | Amministratore Truelite | Alias /webdav /data/ |
45 | 1 | Amministratore Truelite | |
46 | # But we apply different settings |
||
47 | <Location /webdav> |
||
48 | DAV On |
||
49 | 2 | Amministratore Truelite | AuthName "Truelite" |
50 | 1 | Amministratore Truelite | AuthType Basic |
51 | AuthBasicProvider ldap |
||
52 | AuthLDAPURL ldaps://ldap.fi.trl/ou=People,dc=truelite,dc=it?uid |
||
53 | AuthzLDAPAuthoritative Off |
||
54 | require valid-user |
||
55 | </Location> |
||
56 | |||
57 | </VirtualHost> |
||
58 | |||
59 | }}} |
||
60 | 3 | Amministratore Truelite | |
61 | AuthzLDAPAuthoritative Directive |
||
62 | Description: Prevent other authentication modules from authenticating the user if this one fails |