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:
emv33 2025-12-15 14:46:45 +01:00 committed by GitHub
parent fe9fdb455c
commit af67e84cd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,8 +26,10 @@ AddDefaultCharset utf8
</IfModule>
# UHD screenshots can get pretty large (cannot be set in config)
<IfModule mod_php.c>
php_value upload_max_filesize 20M
php_value post_max_size 25M
</IfModule>
RewriteEngine on
# RewriteBase /~user/localPath/ # enable if the rules do not work, when they should