Server/Config (#468)
* wrap php_value directives in IfModule blocks to avoid a 500 error if you are not using mod_php
This commit is contained in:
parent
fe9fdb455c
commit
af67e84cd8
1 changed files with 2 additions and 0 deletions
|
|
@ -26,8 +26,10 @@ AddDefaultCharset utf8
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# UHD screenshots can get pretty large (cannot be set in config)
|
# UHD screenshots can get pretty large (cannot be set in config)
|
||||||
|
<IfModule mod_php.c>
|
||||||
php_value upload_max_filesize 20M
|
php_value upload_max_filesize 20M
|
||||||
php_value post_max_size 25M
|
php_value post_max_size 25M
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
# RewriteBase /~user/localPath/ # enable if the rules do not work, when they should
|
# RewriteBase /~user/localPath/ # enable if the rules do not work, when they should
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue