feat: add Apache server support with configuration templates and IPC management logic
This commit is contained in:
@@ -5,6 +5,6 @@ Alias /{{HOST}} "{{PATH}}"
|
||||
Require all granted
|
||||
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}"
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}/"
|
||||
</FilesMatch>
|
||||
</Directory>
|
||||
|
||||
@@ -2,7 +2,6 @@ Define SRVROOT "{{SRVROOT}}"
|
||||
|
||||
Listen {{LISTEN_ADDRESS}}:{{PORT}}
|
||||
|
||||
LoadModule mpm_winnt_module modules/mod_mpm_winnt.so
|
||||
LoadModule authz_core_module modules/mod_authz_core.so
|
||||
LoadModule authz_host_module modules/mod_authz_host.so
|
||||
LoadModule dir_module modules/mod_dir.so
|
||||
@@ -47,13 +46,13 @@ Alias /phpmyadmin "{{PHPMYADMIN_DIR}}"
|
||||
Require all granted
|
||||
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}"
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}/"
|
||||
</FilesMatch>
|
||||
</Directory>
|
||||
|
||||
# Global PHP handler
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}"
|
||||
SetHandler "proxy:fcgi://127.0.0.1:{{PHP_PORT}}/"
|
||||
</FilesMatch>
|
||||
|
||||
# Project configurations
|
||||
|
||||
Reference in New Issue
Block a user