Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
erp5.recipe.apache-1.0.dev-r41446.tar.gz (6.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page