feat: add Apache and PHP configuration templates with utility scripts to manage ProxyFCGI path handling and path normalization

This commit is contained in:
Ümit Tunç
2026-04-01 22:05:36 +03:00
parent 2bc793662e
commit 3164b66f23
4 changed files with 102 additions and 2 deletions
+4 -2
View File
@@ -29,9 +29,11 @@ LoadModule deflate_module modules/mod_deflate.so
AcceptFilter http none
AcceptFilter https none
# Required for PHP-FPM on Windows to avoid "No input file specified"
# Required for PHP-FPM on Windows
<IfModule proxy_fcgi_module>
ProxyFCGIBackendType GENERIC
# Fix for encoded spaces and special characters in Windows paths
SetEnv proxy-fcgi-pathinfo unescape
</IfModule>
ServerAdmin admin@localhost
@@ -54,7 +56,7 @@ DocumentRoot "{{ROOT}}"
</Directory>
ErrorLog "{{LOG_DIR}}/apache_error.log"
LogLevel warn
LogLevel warn proxy_fcgi:trace8
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b" common