Skip to main content

Change history

trunk (2008-07-02)

  • xxx [Ingeniweb]

0.2.1 (2008-07-02)

  • fix Cheetah require in setup.py [yboussard]

0.2.0 (2008-06-30)

  • Add log_format option to configure apache log [yboussard]

0.1.0 (2008-04-27)

  • Created recipe with ZopeSkel [Paris sprint 2008].

Detailed Documentation

Building

Supported options

The recipe supports the following options:

url

URL for an archive containing the Squid sources. Either url or svn has to be specified.

svn

URL for a subversion repository containing Aapache sources. Either url or svn has to be specified.

modules

Here you you can specify the extra modules that you want apache to be compiled with. Each module goes in one line. The module name will be appended to the configure statement –con–

Example usage

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = apachebuild
...
... [apachebuild]
... recipe = plone.recipe.apache:build
... url = http://mir2.ovh.net/ftp.apache.org/dist/httpd/httpd-2.2.8.tar.gz
... """ )

Running the buildout gives us:

>>> print system(buildout)
Installing apachebuild.
apachebuild: Downloading apache tarball.
apachebuild: Compiling Apache
...

Configuration

Supported options

The recipe supports the following options:

mainconfig

location of apache configuration (ex: /etc/apache2/apache2.conf). if no value is provided we use the location of the config file from build recipe

bind

Hostname and port on which Apache will listen for requests. Syntax is [hostname][:port]. Defaults to 80. If hostname is omitted then Apache will bind to all available interfaces.

backends

Specifies the backend or backends which will process the requests. The syntax for backends:

<hostname>[/<path>]:<ip address>:<port>

If multiple backends are specified then each backend must include a hostname.

zope2_vhm_map

zope2_vhm_map Defines a virtual host mapping for Zope servers. This is a list of hostname:ZODB location entries which specify the location inside Zope where the website for a virtual host lives. The syntax for zope servers:

<hostname>:<path>

log_format

Specify the log format of apache (combined, common) , common is the default

Example usage

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = apacheconfig
...
... [apacheconfig]
... recipe = plone.recipe.apache:config
... mainconfig = /usr/local/apache/config/httpd.conf
... bind = 80
... backends = plone.org:127.0.0.1:3128
... zope2_vhm_map = plone.org:/plone
... """)

Running the buildout gives us:

>>> print system(buildout)
Installing apacheconfig.
...

Contributors

Paris sprint 2008, Author Carsten Rebbien Youenn Boussard

Download

Download files

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

Source Distribution

plone.recipe.apache-0.2.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plone.recipe.apache-0.2.1-py2.4.egg (21.5 kB view details)

Uploaded Egg

File details

Details for the file plone.recipe.apache-0.2.1.tar.gz.

File metadata

File hashes

Hashes for plone.recipe.apache-0.2.1.tar.gz
Algorithm Hash digest
SHA256 28f6ce17d118c910025fb29cbd6cd959658344842a5ecab67f056f3e5a965eff
MD5 6c7e60aaa230ccad97108d028d25ab3a
BLAKE2b-256 a0dee3fc2f05de002e7a93ebe6c16d8d1492bac22acd8b0950f1a17cf06836fd

See more details on using hashes here.

File details

Details for the file plone.recipe.apache-0.2.1-py2.4.egg.

File metadata

File hashes

Hashes for plone.recipe.apache-0.2.1-py2.4.egg
Algorithm Hash digest
SHA256 1f5625881491cfc18e824be844e8e5a41d29553fb6f91534041694e0c59be075
MD5 0d17e83add1f5b7b889b5b5b7266253b
BLAKE2b-256 bf0a194b6338c1953f33a9473671438503922247b8be368851eeefdf8434dfe7

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.3

1 file

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page