Commit 42b86eed authored by Sophie Herold's avatar Sophie Herold
Browse files

Make apache2 cgi user dynamic

parent f03c0662
......@@ -445,13 +445,13 @@ class to_apache2_vhost(base.Filter):
template_vhost = """
<VirtualHost *:{port}>
Use GenconfigVhostDefaults "{user}" "{domain}" "{port}" "{aliases}"
Use GenconfigVhostDefaults "{user}" "{user_cgi}" "{domain}" "{port}" "{aliases}"
</VirtualHost>
"""
template_vhost_ssl = """
MDomain "{domain}"
<VirtualHost *:{port}>
Use GenconfigVhostDefaults "{user}" "{domain}" "{port}" "{aliases}"
Use GenconfigVhostDefaults "{user}" "{user_cgi}" "{domain}" "{port}" "{aliases}"
SSLEngine On
</VirtualHost>
"""
......
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