Forked from
Stud.IP / Stud.IP
1757 commits behind the upstream repository.
-
André Noack authoredAndré Noack authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
studip-httpd.conf.dist 1.29 KiB
#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]
Require all granted
php_value upload_max_filesize 250M
php_value post_max_size 250M
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
</Directory>