htaccess
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
.htaccess für 1 Benutzer
AuthName "Bitte anmelden: " AuthType Basic AuthUserFile /srv/www/htdocs/av.anger.st/admin/.htpasswd Require valid-user php_value register_globals on
.htpasswd
admin:airmhs80mdlos
Passwort verschlüsseln
- htpasswd -cd /home/doe/public_html/.htpasswd jane (Crypt)
- htpasswd -cm /usr/web/.htpasswd jones Pwd4Steve (MD5)
- man htpasswd
.htaccess mit LDAP Authentifizierung
AuthType Basic AuthName "Privater Bereich" AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL ldap://bgweiz.at/ou=people,dc=bgweiz,dc=at Require valid-user
Directory Listing für Ordner aktivieren
Options +Indexes
Zugriff über vhosts
- /etc/apache2/vhosts.d/bgweiz.at/conf
<Directory "/srv/www/htdocs/calendar.bgweiz.at/peer">
DAV On
DAVDepthInfinity on
Options FollowSymlinks Indexes MultiViews
AllowOverride None
Order Deny,Allow
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "WebDAV"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL "ldap://10.67.0.5/dc=bgweiz,dc=at"
Require user helmuth.peer
</LimitExcept>
</Directory>
htaccess.1268772838.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
