Benutzer-Werkzeuge

Webseiten-Werkzeuge


htaccess

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
htaccess [2010/03/16 21:53] – Externe Bearbeitung 127.0.0.1htaccess [2011/11/19 17:04] (aktuell) admin
Zeile 1: Zeile 1:
 +  *[[http://viralpatel.net/blogs/2009/06/21-very-useful-htaccess-tips-tricks.html|21 Tricks]]
 +
 =====.htaccess für 1 Benutzer===== =====.htaccess für 1 Benutzer=====
  
Zeile 22: Zeile 24:
   *[[http://www.gaijin.at/olshtcrypt.php|.htpasswd Crypt]]   *[[http://www.gaijin.at/olshtcrypt.php|.htpasswd Crypt]]
  
-=====.htaccess mit LDAP Authentifizierung=====+=====.htaccess mit LDAP Authentifizierung für alle Benutzer =====
 <file> <file>
 AuthType Basic AuthType Basic
Zeile 28: Zeile 30:
 AuthBasicProvider ldap AuthBasicProvider ldap
 AuthzLDAPAuthoritative off AuthzLDAPAuthoritative off
-AuthLDAPURL ldap://bgweiz.at/ou=people,dc=bgweiz,dc=at+AuthLDAPURL ldap://10.67.0.5/ou=people,dc=bgweiz,dc=at
 Require valid-user Require valid-user
 +</file>
 +
 +=====.htaccess mit LDAP Authentifizierung einer Gruppe =====
 +
 +<file>
 +AuthType Basic
 +AuthName "5B - Rainer"
 +AuthBasicProvider ldap
 +AuthzLDAPAuthoritative on
 +AuthLDAPUrl ldap://10.67.0.5/dc=bgweiz,dc=at?uid
 +AuthLDAPGroupAttributeIsDN off
 +AuthLDAPGroupAttribute memberUid
 +Require ldap-group cn=rainer5b,ou=groups,dc=bgweiz,dc=at
 +Options +Indexes
 </file> </file>
  
Zeile 59: Zeile 75:
 </file> </file>
  
 +===== Error Reporting =====
 +
 +<file>
 +# to stop php startup errors
 +php_flag display_startup_errors off
 +# to stop all php errors and warning
 +php_flag display_errors off
 +# report everything except run-time notices.
 +php_value error_reporting 8191
 +# report both fatal and non-fatal compile-time warnings by the Zend Engine
 +php_value error_reporting 128
 +# report run-time notices, compile-time parse errors, run-time errors and warnings
 +php_value error_reporting 8
 +# report fatal run-time errors and unrecoverable errors
 +php_value error_reporting 1
 +</file>
htaccess.1268772838.txt.gz · Zuletzt geändert: (Externe Bearbeitung)