Skip to main content

zc.buildout recipe to create apache instances which serversZope content

Project description

Introduction
============

Recipe to generate Apache reverse proxy for Zope with SSL.

Example configuration
---------------------

[buildout]
parts =
my-frontend

[my-frontend]
recipe = erp5.recipe.apache
httpd_binary = /path/to/bin/httpd
openssl_binary = /path/to/bin/openssl

ip = ::1
port = 43214
server_name = localhost

backend_mapping =
127.0.0.1:16080/ /
127.0.0.1:16080/erp5 /erp5
127.0.0.1:16080/erp5 /differentview
127.0.0.1:16080/erp5/module/something /deep in

After running this profile:

- SSL keys will be generated and stored in var/my-fronted-ssl
- var/run and var/log directories will be prepared:
- var/run/my-fronted.pid will be available during run
- var/log/my-fronted_access.log and var/log/my-fronted_error.log will be updated
- parts/my-fronted/etc/my-frontend.conf will be generated
- bin/my-fronted wrapper will be ready to serve apache in foreground mode

VirtualHostMonster will be automatically configured to support backend mapping.

TODO
----

- convert README to docstring test
- use python entry point instead of shell script to generate wrapper

1.0 (unreleased)
----------------

- initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

erp5.recipe.apache-1.0.dev-r41446.tar.gz (6.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page