Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tom Niget
slapos
Commits
71f044c6
Commit
71f044c6
authored
May 31, 2023
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/lamp: fix default-document-root
parent
3ea01a49
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
stack/lamp/apache-httpd.conf.in
stack/lamp/apache-httpd.conf.in
+5
-4
stack/lamp/buildout.hash.cfg
stack/lamp/buildout.hash.cfg
+2
-2
stack/lamp/instance-apache-php.cfg.in
stack/lamp/instance-apache-php.cfg.in
+1
-1
No files found.
stack/lamp/apache-httpd.conf.in
View file @
71f044c6
{% set document_root = parameter_dict.get('document-root', parameter_dict['default-document-root']) -%}
<VirtualHost *:{{ parameter_dict['port'] }}>
<VirtualHost *:{{ parameter_dict['port'] }}>
ServerAdmin admin@example.com
ServerAdmin admin@example.com
DocumentRoot {{
parameter_dict.get('document-root', parameter_dict['default-document-root'])
}}
DocumentRoot {{
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
...
@@ -9,12 +10,12 @@
...
@@ -9,12 +10,12 @@
Header always set Access-Control-Allow-Headers "Overwrite, Destination, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Authorization" env=ORIGIN_DOMAIN
Header always set Access-Control-Allow-Headers "Overwrite, Destination, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Authorization" env=ORIGIN_DOMAIN
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
<Directory {{
parameter_dict['document-root']
}}>
<Directory {{
document_root
}}>
Options +FollowSymlinks
Options +FollowSymlinks
AllowOverride All
AllowOverride All
Require all granted
Require all granted
SetEnv HOME {{
parameter_dict['document-root']
}}
SetEnv HOME {{
document_root
}}
SetEnv HTTP_HOME {{
parameter_dict['document-root']
}}
SetEnv HTTP_HOME {{
document_root
}}
Dav off
Dav off
</Directory>
</Directory>
...
...
stack/lamp/buildout.hash.cfg
View file @
71f044c6
...
@@ -18,7 +18,7 @@ md5sum = 0fa7f628756b7ba10b651fe5549def89
...
@@ -18,7 +18,7 @@ md5sum = 0fa7f628756b7ba10b651fe5549def89
[instance-apache-php]
[instance-apache-php]
filename = instance-apache-php.cfg.in
filename = instance-apache-php.cfg.in
md5sum = 4
054275083687d619ec55bc7c72d9d6b
md5sum = 4
e0a5af8b8d92a77a3ced7d55fb14257
[instance-lamp]
[instance-lamp]
filename = instance-lamp.cfg.jinja2.in
filename = instance-lamp.cfg.jinja2.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 =
88324113df68851fd4b5bca4f7d40db4
md5sum =
b2a413238cfc9d73b6916ed4fcee28ec
stack/lamp/instance-apache-php.cfg.in
View file @
71f044c6
...
@@ -201,7 +201,7 @@ db-password = ${mariadb-urlparse:password}
...
@@ -201,7 +201,7 @@ db-password = ${mariadb-urlparse:password}
db-name = ${mariadb-urlparse:path}
db-name = ${mariadb-urlparse:path}
db-host = ${mariadb-urlparse:host}
db-host = ${mariadb-urlparse:host}
db-port = ${mariadb-urlparse:port}
db-port = ${mariadb-urlparse:port}
document-root = ${apache-php-configuration:document-root}
document-root = ${apache-php-configuration:d
efault-d
ocument-root}
backend-url = ${apache-php-configuration:url}
backend-url = ${apache-php-configuration:url}
php-bin = {{ parameter_dict['apache-php-location'] }}/bin/php
php-bin = {{ parameter_dict['apache-php-location'] }}/bin/php
php-ini = ${php.ini-conf:output}
php-ini = ${php.ini-conf:output}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment