Commit 5ec7729e authored by Rafael Monnerat's avatar Rafael Monnerat

Update configuration to setup very basic vhost configuration.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34693 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55a77b5b
...@@ -7,6 +7,8 @@ httpd_port = 8181 ...@@ -7,6 +7,8 @@ httpd_port = 8181
httpd_datadir = ${buildout:var-directory}/httpd httpd_datadir = ${buildout:var-directory}/httpd
httpd_htdocs = ${:httpd_datadir}/htdocs httpd_htdocs = ${:httpd_datadir}/htdocs
httpd_cgibin = ${:httpd_datadir}/cgi-bin httpd_cgibin = ${:httpd_datadir}/cgi-bin
httpd_vhost_rewrite_rules =
RewriteRule ^/static(.*) ${configuration:httpd_htdocs}$1 [L]
[apache-httpd] [apache-httpd]
recipe = collective.recipe.template recipe = collective.recipe.template
...@@ -14,6 +16,11 @@ input = ${software_definition:software_home}/templates/httpd.in ...@@ -14,6 +16,11 @@ input = ${software_definition:software_home}/templates/httpd.in
output = ${buildout:data-bin-directory}/httpd output = ${buildout:data-bin-directory}/httpd
config-path = ${apache-conf:output} config-path = ${apache-conf:output}
[apache-vhost]
recipe = collective.recipe.template
input = ${software_definition:software_home}/templates/httpd.vhost.conf.in
output = ${buildout:var-directory}/etc/httpd.vhost.conf
[apache-conf] [apache-conf]
recipe = collective.recipe.template recipe = collective.recipe.template
input = ${software_definition:software_home}/templates/httpd.conf.in input = ${software_definition:software_home}/templates/httpd.conf.in
......
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