feat: add Apache and PHP configuration templates with utility scripts to manage ProxyFCGI path handling and path normalization
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user