Commit 5b109c6e authored by Alain Takoudjou's avatar Alain Takoudjou

stack/lamp: updates for drupal

parent 22c75bb7
......@@ -134,5 +134,10 @@ md5sum = 2a45250d2f073aa7698db5c3bc4d6d29
url = https://www.php.net/distributions/php-8.1.18.tar.xz
md5sum = b6a290905d0851cb999a1d9d5e2a24c1
[apache-php8.0]
<= apache-php7
url = https://www.php.net/distributions/php-8.0.28.tar.bz2
md5sum = d1f8e3752890d15f104b2220331eac27
[apache-php]
<= apache-php8
<VirtualHost *:{{ parameter_dict['port'] }}>
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
Header always set Access-Control-Allow-Origin "%{ORIGIN_DOMAIN}e" env=ORIGIN_DOMAIN
......
......@@ -82,7 +82,6 @@ LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so
LoadModule deflate_module modules/mod_deflate.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
{% for module in parameter_dict.get('php-module-list', '').split('\n') -%}
LoadModule {{ module.strip() }}
{% endfor -%}
......@@ -26,7 +26,7 @@ md5sum = de1f450a80547d12334b712016138078
[template-apache.conf]
filename = apache.conf.in
md5sum = cb847466e8438df624a8c0387cc78b97
md5sum = 05841c5110f969a8be719efdf16ead05
[template-php.ini]
filename = php.ini.in
......@@ -34,4 +34,4 @@ md5sum = 980f603c34fcb008ce73a9dde2dbceb3
[template-apache-httpd]
filename = apache-httpd.conf.in
md5sum = 4ad906791f0d6fd3a4aef8f5a8018b45
md5sum = 88324113df68851fd4b5bca4f7d40db4
......@@ -130,7 +130,7 @@ listening-port = 9988
#-- Deploy Apache + PHP application.
[apache-php-configuration]
document-root = ${directory:www}
default-document-root = ${directory:www}
pid-file = ${directory:run}/apache.pid
lock-file = ${directory:run}/apache.lock
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