mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 20:07:24 +00:00
Fix uploads and scripts under PHP-FPM: php_flag engine off in the .htaccess files of uploads, its backups, expenses, tmp and canned_responses folders, and scripts is wrapped in IfModule mod_php.c, as Apache only knows php_flag under mod_php and with PHP-FPM through mod_proxy_fcgi answered every request in those folders with a 500, so the logo, favicon, avatars and photos of contacts, locations, assets and racks didn't load on hosting panels; PHP still can't run there, as uploads denies php and the like by name and the other five deny everything; 26.11.9 changelog entries
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
Require all denied
|
||||
Options -ExecCGI -Indexes
|
||||
php_flag engine off
|
||||
<IfModule mod_php.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
|
||||
Reference in New Issue
Block a user