aboutsummaryrefslogtreecommitdiff
path: root/config/studip-httpd.conf.dist
blob: 8227730bda5a9e68442477be0040b9886a74e55e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#Alias /studip	/usr/local/studip/public
<Directory "/usr/local/studip/public">
    # für rewrite wird die Option FollowSymLinks oder SymLinksIfOwnerMatch benötigt ...
    #Options SymLinksIfOwnerMatch
    #RewriteEngine on
    #RewriteRule ^download/(normal|force_download|zip)/([0-467])/([^/]+)/(.+)$ sendfile.php?$1=1&type=$2&file_id=$3&file_name=$4 [L]
    #RewriteRule ^download/(normal|force_download|zip)/5/([^/]+)/([^/]+)/(.+)$ sendfile.php?$1=1&type=5&range_id=$2&list_id=$3&file_name=$4 [L]
    #bzw. bei Verwendung von Alias:
    #RewriteEngine on
    #RewriteBase /usr/local/studip/public
    #RewriteRule ^download/(normal|force_download|zip)/([0-467])/([^/]+)/(.+)$ /studip/sendfile.php?$1=1&type=$2&file_id=$3&file_name=$4 [L]
    #RewriteRule ^download/(normal|force_download|zip)/5/([^/]+)/([^/]+)/(.+)$ /studip/sendfile.php?$1=1&type=5&range_id=$2&list_id=$3&file_name=$4 [L]

    #Apache 2.2
    #Order Allow,Deny
    #Allow from all

    #Apache 2.4
    Require all granted

    php_value upload_max_filesize 8M
    php_value post_max_size 9M
    php_value memory_limit 128M
    php_value max_execution_time 300
    php_flag short_open_tag On
    php_admin_flag allow_url_fopen On
    php_value max_input_vars 10000
    #PHP Konstanten sind hier nicht verfügbar
    # 22519 = E_ALL & ~(E_NOTICE|E_DEPRECATED) PHP 5.3.x
    php_value error_reporting 22519

    # PHP 5.5 (ab 5.6 Standardeinstellung)
    php_value default_charset utf-8
    php_value mbstring.internal_encoding utf-8

</Directory>