diff --git a/apache/vhosts/standard.tmpl b/apache/vhosts/standard.tmpl index ed662df..17f9ef9 100644 --- a/apache/vhosts/standard.tmpl +++ b/apache/vhosts/standard.tmpl @@ -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), diff --git a/pillar.example b/pillar.example index 73ced33..5db4254 100644 --- a/pillar.example +++ b/pillar.example @@ -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