Commit 23aa9402 authored by Alain Takoudjou's avatar Alain Takoudjou

stack/lamp: updates for drupal

parent 1b4abbe6
<VirtualHost *:{{ parameter_dict['port'] }}> <VirtualHost *:{{ parameter_dict['port'] }}>
ServerAdmin admin@example.com ServerAdmin admin@example.com
DocumentRoot {{ parameter_dict['document-root'] }} DocumentRoot {{ parameter_dict.get('document-root', parameter_dict['default-document-root']) }}
SetEnvIf Origin "^http(s)?://(.+\.)?(app\.officejs\.com)$" ORIGIN_DOMAIN=$0 SetEnvIf Origin "^http(s)?://(.+\.)?(app\.officejs\.com)$" ORIGIN_DOMAIN=$0
Header always set Access-Control-Allow-Origin "%{ORIGIN_DOMAIN}e" env=ORIGIN_DOMAIN Header always set Access-Control-Allow-Origin "%{ORIGIN_DOMAIN}e" env=ORIGIN_DOMAIN
......
...@@ -82,7 +82,6 @@ LoadModule rewrite_module modules/mod_rewrite.so ...@@ -82,7 +82,6 @@ LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so LoadModule headers_module modules/mod_headers.so
LoadModule deflate_module modules/mod_deflate.so LoadModule deflate_module modules/mod_deflate.so
LoadModule filter_module modules/mod_filter.so LoadModule filter_module modules/mod_filter.so
LoadModule xsendfile_module modules/mod_xsendfile.so
LoadModule http2_module modules/mod_http2.so
LoadModule php{{ '_module modules/libphp' if parameter_dict.get('enable-php8') else '7_module modules/libphp7' }}.so LoadModule php{{ '_module modules/libphp' if parameter_dict.get('enable-php8') else '7_module modules/libphp7' }}.so
{% for module in parameter_dict.get('php-module-list', '').split('\n') -%}
LoadModule {{ module.strip() }}
{% endfor -%}
...@@ -26,7 +26,7 @@ md5sum = de1f450a80547d12334b712016138078 ...@@ -26,7 +26,7 @@ md5sum = de1f450a80547d12334b712016138078
[template-apache.conf] [template-apache.conf]
filename = apache.conf.in filename = apache.conf.in
md5sum = cb847466e8438df624a8c0387cc78b97 md5sum = 05841c5110f969a8be719efdf16ead05
[template-php.ini] [template-php.ini]
filename = php.ini.in filename = php.ini.in
...@@ -34,4 +34,4 @@ md5sum = bf21c6d68ef85ee7de090375424d0c5c ...@@ -34,4 +34,4 @@ md5sum = bf21c6d68ef85ee7de090375424d0c5c
[template-apache-httpd] [template-apache-httpd]
filename = apache-httpd.conf.in filename = apache-httpd.conf.in
md5sum = 4ad906791f0d6fd3a4aef8f5a8018b45 md5sum = 88324113df68851fd4b5bca4f7d40db4
...@@ -130,7 +130,7 @@ listening-port = 9988 ...@@ -130,7 +130,7 @@ listening-port = 9988
#-- Deploy Apache + PHP application. #-- Deploy Apache + PHP application.
[apache-php-configuration] [apache-php-configuration]
document-root = ${directory:www} default-document-root = ${directory:www}
pid-file = ${directory:run}/apache.pid pid-file = ${directory:run}/apache.pid
lock-file = ${directory:run}/apache.lock lock-file = ${directory:run}/apache.lock
ip = ${apache-network-configuration:listening-ip} ip = ${apache-network-configuration:listening-ip}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment