Merge pull request #282 from bawuenet/script_alias

feat: Add support for ScriptAlias in standard vhost
This commit is contained in:
Imran Iqbal 2020-07-16 20:01:05 +01:00 committed by GitHub
commit 5a186de875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -78,6 +78,10 @@
Alias {{ loc }} {{ path }}
{%- endfor %}
{%- for loc, path in site.get('ScriptAlias', {}).items() %}
ScriptAlias {{ loc }} {{ path }}
{%- endfor %}
{%- for path, dir in site.get('Directory', {}).items() -%}
{%- set dvals = {
'Options': dir.get('Options', vals.Directory.Options),

View File

@ -284,6 +284,9 @@ apache:
Alias:
/docs: /usr/share/docs
ScriptAlias:
/cgi-bin/: /var/www/cgi-bin/
Formula_Append: |
Additional config as a
multi-line string here