Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— |
calendar [2010/09/07 15:34] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== calendar.bgweiz.at ====== | ||
+ | <file> | ||
+ | |||
+ | <VirtualHost calendar.bgweiz.at:80> | ||
+ | ServerAdmin webmaster@bgweiz.at | ||
+ | ServerName calendar.bgweiz.at | ||
+ | DocumentRoot /srv/www/htdocs/calendar.bgweiz.at | ||
+ | ErrorLog /var/log/apache2/calendar.bgweiz.at-error_log | ||
+ | CustomLog /var/log/apache2/calendar.bgweiz.at-access_log combined | ||
+ | HostnameLookups Off | ||
+ | UseCanonicalName Off | ||
+ | ServerSignature On | ||
+ | <Directory "/srv/www/htdocs/calendar.bgweiz.at"> | ||
+ | DAV On | ||
+ | DAVDepthInfinity on | ||
+ | Options FollowSymlinks Indexes MultiViews | ||
+ | AllowOverride None | ||
+ | Order Deny,Allow | ||
+ | # Einfache Datei | ||
+ | # AuthType Basic | ||
+ | # AuthName "WebDAV" | ||
+ | # #htpasswd2 -c /srv/www/htdocs/calendar.bgweiz.at/.DAVlogin matthias | ||
+ | # AuthUserfile /srv/www/htdocs/calendar.bgweiz.at/.DAVlogin | ||
+ | # Require user matthias | ||
+ | |||
+ | # Schreibschutz | ||
+ | # <LimitExcept GET PROPFIND OPTIONS REPORT> | ||
+ | # </LimitExcept> | ||
+ | |||
+ | <LimitExcept GET PROPFIND OPTIONS REPORT> | ||
+ | # LDAP | ||
+ | AuthType Basic | ||
+ | AuthName "WebDAV" | ||
+ | AuthBasicProvider ldap | ||
+ | AuthzLDAPAuthoritative off | ||
+ | # AuthLDAPGroupAttribute cn | ||
+ | # AuthLDAPGroupAttributeIsDN on | ||
+ | # AuthLDAPURL ldap://10.67.0.5/ou=groups,dc=bgweiz,dc=at | ||
+ | # Require valid-user | ||
+ | # Require ldap-group cn=lehrer,ou=people,dc=bgweiz,dc=at | ||
+ | # Require ldap-group cn=webadmin,ou=groups,dc=bgweiz,dc=at | ||
+ | # Require valid-user | ||
+ | |||
+ | # wenn memberUid | ||
+ | # AuthLDAPURL "ldap://10.67.0.5/dc=bgweiz,dc=at?uid?sub" | ||
+ | # require ldap-group cn=webadmin,ou=groups,dc=bgweiz,dc=at | ||
+ | # AuthLDAPGroupAttributeIsDN Off | ||
+ | # AuthLDAPGroupAttribute memberUid | ||
+ | |||
+ | # nur lehrer | ||
+ | AuthLDAPURL "ldap://10.67.0.5/cn=lehrer,ou=people,dc=bgweiz,dc=at" | ||
+ | Require valid-user | ||
+ | </LimitExcept> | ||
+ | </Directory> | ||
+ | </VirtualHost> | ||
+ | |||
+ | </file> | ||
+ | |||
+ | ----- | ||
+ | *Problem: Zeit wird im 12h Format angezeigt | ||
+ | * Lösung: /daten/einstein/srv/www/htdocs/bgweiz.at/cms/phpicalendar/functions/init/configs.php | ||
+ | <code php> | ||
+ | ... | ||
+ | $timeFormat_small = 'H:i'; | ||
+ | $timeFormat = 'H:i'; | ||
+ | ... | ||
+ | </code> |