"Fossies" - the Fresh Open Source Software Archive

Member "tine20-2019.12.4/tine20/docs/htaccess" (16 Jan 2020, 2621 Bytes) of package /linux/www/tine20-2019.12.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 DirectoryIndex index.php
    2 
    3 <IfModule mod_php5.c>
    4       Define PHP_MODULE_INSTALLED
    5 </IfModule>
    6 
    7 <IfModule mod_php7.c>
    8       Define PHP_MODULE_INSTALLED
    9 </IfModule>
   10 
   11 <IfDefine PHP_MODULE_INSTALLED>
   12     php_value max_input_time 120
   13     php_value session.gc_maxlifetime 86400
   14     php_value memory_limit 128M
   15     php_value upload_max_filesize 20M
   16     php_value post_max_size 20M
   17     php_value safe_mode off
   18     php_flag display_errors off
   19     php_flag log_errors on
   20     php_flag magic_quotes_gpc off
   21     php_flag magic_quotes_runtime off
   22     php_flag register_globals off
   23     php_value max_execution_time 90
   24 </IfDefine>
   25 
   26 <IfModule mod_rewrite.c>
   27     RewriteEngine on
   28 
   29     # ActiveSync
   30     RewriteRule ^Microsoft-Server-ActiveSync index.php?frontend=activesync         [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   31     
   32     # OpenID
   33     RewriteRule ^users/(.*)                  index.php?frontend=openid&username=$1 [L,QSA]
   34 
   35     # WebDAV / CalDAV / CardDAV
   36     RewriteCond %{REQUEST_METHOD} !^(GET|POST)$
   37     RewriteRule ^$                           index.php?frontend=webdav             [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   38 
   39     RewriteRule ^addressbooks                index.php?frontend=webdav             [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   40     RewriteRule ^calendars                   index.php?frontend=webdav             [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   41     RewriteRule ^webdav                      index.php?frontend=webdav             [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   42     RewriteRule ^principals                  index.php?frontend=webdav             [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   43     RewriteRule ^remote.php                  index.php?frontend=webdav             [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   44     
   45     # Anonymous downloads
   46     RewriteRule ^download/get/(.*)           index.php?method=Download.downloadNode&path=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   47     RewriteRule ^download/show/(.*)          index.php?method=Download.displayNode&path=$1  [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   48 
   49     # Routing
   50     <Location />
   51         RewriteCond %{REQUEST_FILENAME} -s [OR]
   52         RewriteCond %{REQUEST_FILENAME} -l [OR]
   53         RewriteCond %{REQUEST_FILENAME} -d
   54         RewriteRule ^.*$ - [NC,L]
   55         RewriteRule ^.*$ index.php?doRouting=1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
   56      </Location>
   57 </IfModule>
   58 
   59 <IfModule mod_expires.c>
   60     ExpiresActive on
   61 
   62     ExpiresByType image/gif "access plus 1 month 1 days"
   63     ExpiresByType image/jpeg "access plus 1 month 1 days"
   64     ExpiresByType image/png "access plus 1 month 1 days" 
   65 </IfModule>