htaccess
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| htaccess [2010/03/16 21:53] – Externe Bearbeitung 127.0.0.1 | htaccess [2011/11/19 17:04] (aktuell) – admin | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | *[[http:// | ||
| + | |||
| =====.htaccess für 1 Benutzer===== | =====.htaccess für 1 Benutzer===== | ||
| Zeile 22: | Zeile 24: | ||
| *[[http:// | *[[http:// | ||
| - | =====.htaccess mit LDAP Authentifizierung===== | + | =====.htaccess mit LDAP Authentifizierung |
| < | < | ||
| AuthType Basic | AuthType Basic | ||
| Zeile 28: | Zeile 30: | ||
| AuthBasicProvider ldap | AuthBasicProvider ldap | ||
| AuthzLDAPAuthoritative off | AuthzLDAPAuthoritative off | ||
| - | AuthLDAPURL ldap://bgweiz.at/ | + | AuthLDAPURL ldap://10.67.0.5/ |
| Require valid-user | Require valid-user | ||
| + | </ | ||
| + | |||
| + | =====.htaccess mit LDAP Authentifizierung einer Gruppe ===== | ||
| + | |||
| + | < | ||
| + | AuthType Basic | ||
| + | AuthName "5B - Rainer" | ||
| + | AuthBasicProvider ldap | ||
| + | AuthzLDAPAuthoritative on | ||
| + | AuthLDAPUrl ldap:// | ||
| + | AuthLDAPGroupAttributeIsDN off | ||
| + | AuthLDAPGroupAttribute memberUid | ||
| + | Require ldap-group cn=rainer5b, | ||
| + | Options +Indexes | ||
| </ | </ | ||
| Zeile 59: | Zeile 75: | ||
| </ | </ | ||
| + | ===== Error Reporting ===== | ||
| + | |||
| + | < | ||
| + | # 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 | ||
| + | </ | ||
htaccess.1268772838.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
