{ "info": { "author": "Paris sprint 2008", "author_email": "products-developers@lists.plone.org", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "This recipe allows you to build or to configure an apache for your Zope/plone\nplatform.\n\nBuilding\n========\n\nSupported options\n-----------------\n\nThe recipe supports the following options:\n\nurl\n URL for an archive containing the Squid sources. Either **url** or\n **svn** has to be specified.\n\nsvn\n URL for a subversion repository containing Aapache sources. Either **url**\n or **svn** has to be specified.\n\nmodules\n Here you you can specify the extra modules that you want apache to\n be compiled with. Each module goes in one line. The module names\n prepended with '--enable-' will be appended to the 'configure'\n command before compiling. For example, module 'ssl' becomes\n configure option '--enable-ssl'.\n\nextra_options\n Since this recipe's 'build' entry-point subclasses zc.recipe.cmmi,\n we can pass other options to the 'configure' command, in addition\n to any 'modules' specified above. This allows you to specify\n non-module options like '--with-mpm=worker' or '--with-port=8888'.\n\nExample usage\n-------------\n\nWe'll start by creating a buildout that uses the recipe::\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = apachebuild\n ...\n ... [apachebuild]\n ... recipe = plone.recipe.apache:build\n ... url = http://apache.multidist.com/httpd/httpd-2.2.10.tar.gz\n ... \"\"\" )\n\nRunning the buildout gives us::\n\n >>> print system(buildout)\n Installing apachebuild.\n apachebuild: Downloading apache tarball.\n apachebuild: Compiling Apache\n ...\n\n\nConfiguration\n=============\n\nSupported options\n-----------------\n\nThe recipe supports the following options:\n\nmainconfig\n location of apache configuration (ex: /etc/apache2/apache2.conf). if no\n value is provided we use the location of the config file from build recipe\n\nbind\n Hostname and port on which Apache will listen for requests.\n Syntax is [hostname][:port]. Defaults to 80.\n If hostname is omitted then Apache will bind to all available\n interfaces.\n\nbackends\n Specifies the backend or backends which will process the\n requests. The syntax for backends::\n\n [/]::\n\n If multiple backends are specified then each backend must include\n a hostname.\n\nzope2_vhm_map\n Defines a virtual host mapping for Zope servers. This is a list of\n **hostname:ZODB location** entries which specify the location inside\n Zope where the website for a virtual host lives.\n The syntax for zope servers:\n\n :\n\nlog_format\n Specify the log format of apache (combined, common) , common is the default\n\netag\n Specify the format of the ETag to be generated (if any, eg: \"MTime Size\")\n\nresources\n Specify directories to be mapped within the virtual host as static\n resource directories. For example::\n\n images:%{buildout:directory}/parts/my.theme/browser/images\n css:%{buildout:directory}/parts/my.theme/browser/css\n js:%{buildout:directory}/parts/my.theme/browser/js\n\nresource-expires\n Configure expires for static resources matching a certain filename\n pattern. For example::\n\n \\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$:\"access plus 2 days\"\n\nresource-headers:\n Configure extra headers for static resources matching a certain filename\n pattern. For example::\n\n \\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$:Cache-Control:\"max-age=172800, public, must-revalidate\"\n\nredirects:\n Defines apache VirtualHost redirect. This is a list of\n **hostname:target_hostname** entries. Redirect is always permanent and\n redirects root folder only.\n target_hostname must match hostname defined in backends.\n For example:\n\n www.plone.org:plone.org\n (in this case all requests to www.plone.org are redirected to plone.org\n which has to be defined in backends parameter)\n\nextras\n Specify extra options to be included in the generated vhost configuration.\n\n\nExample usage\n-------------\n\nWe'll start by creating a buildout that uses the recipe::\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = apacheconfig\n ...\n ... [apacheconfig]\n ... recipe = plone.recipe.apache:config\n ... mainconfig = /usr/local/apache/config/httpd.conf\n ... bind = 80\n ... backends = plone.org:127.0.0.1:3128\n ... zope2_vhm_map = plone.org:/plone\n ... redirects = www.plone.org:plone.org\n ... resources =\n ... docs:${buildout:directory}/plone/recipe/apache/doctests\n ... tests:${buildout:directory}/plone/recipe/apache/doctests\n ... resource-expires =\n ... \\.(txt)$:\"access plus 1 day\"\n ... \\.(py)$:\"access plus 2 weeks\"\n ... resource-headers =\n ... \\.(txt|py)$:Cache-Control:\"max-age=3600, public, must-revalidate\"\n ... \"\"\")\n\nRunning the buildout gives us::\n\n\n >>> print system(buildout)\n Installing apacheconfig.\n ...\n\n\nContributors\n============\n\nParis sprint 2008, Author\nCarsten Rebbien\nYouenn Boussard\n\nSidnei da Silva from Enfold Systems, Inc. added support for serving\nStatic Resources with Gzip Compression.\n\nChris Shenton koansys.com\nFixing configure bugs, allowing extra_options\n\nChange history\n==============\n\n0.3.3 (2015-09-11)\n------------------\n\n- Apache 2.4 compatibility.\n\n\n0.3.2 (2009-xx-yy)\n------------------\n \n - Fix Cheetah dependency under 2.4 to be coherent with Plone 4\n [encolpe]\n\n - Protection against crash when mainconfig file is not writeable.\n A simple message is writen in the console.\n [encolpe]\n\n - add MANIFEST.in so text files are included in dist.\n\n\n0.3.1 (2009-08-13)\n------------------\n\n - Fix bug that prevented baked-in configure options like\n --enable-rewrite from being passed to superclass.\n Allow other (e.g., non-module) options to be specified in\n superclass's 'extra_options' variable.\n [cshenton]\n\n - Take the port to bind apache to from the buildout options, instead\n of assigning 80 unconditionally. Fixes launchpad bug #384874.\n [servilio (kept from trunk before merging 0.3.1 by cshenton)]\n\n\n0.3.0 (2008-11-11)\n------------------\n\n - Added support for including extra directives into the generated vhost\n configuration.\n [witsch]\n\n - Added support for permanent redirects (hostname normalization).\n [naro]\n\n - Added support for static resource directories and gzip compression\n [dreamcatcher]\n\n0.2.1 (2008-07-02)\n------------------\n\n - fix Cheetah require in setup.py\n [yboussard]\n\n0.2.0 (2008-06-30)\n------------------\n\n - Add log_format option to configure apache log\n [yboussard]\n\n\n0.1.0 (2008-04-27)\n------------------\n\n - Created recipe with ZopeSkel\n [Paris sprint 2008]\n\nDownload\n========", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://svn.plone.org/svn/collective/buildout/plone.recipe.apache", "keywords": "plone recipe apache configure", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "plone.recipe.apache", "package_url": "https://pypi.org/project/plone.recipe.apache/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/plone.recipe.apache/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://svn.plone.org/svn/collective/buildout/plone.recipe.apache" }, "release_url": "https://pypi.org/project/plone.recipe.apache/0.3.3/", "requires_dist": null, "requires_python": null, "summary": "An zc buildout for build and configure apache", "version": "0.3.3" }, "last_serial": 1718922, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2fe4409737280bfece6d587867c4832b", "sha256": "ffcc123c14c3982c69288a1a1390360190ef5aa470e9ff70f329c6ee0aa7f850" }, "downloads": -1, "filename": "plone.recipe.apache-0.1.0-py2.4.egg", "has_sig": false, "md5_digest": "2fe4409737280bfece6d587867c4832b", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 21474, "upload_time": "2008-04-27T15:26:55", "url": "https://files.pythonhosted.org/packages/d8/44/6a24f18aca9f5cd950bdec0eb3085cfc77b54a5e6069fce07d866e6c1bf2/plone.recipe.apache-0.1.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "a7511f2766ede59378f1c6f77fdc6acc", "sha256": "9e4f5351be7cf8f6aa1e4d6ab51b7790da534f52cd249340af5f3da7aaad7a79" }, "downloads": -1, "filename": "plone.recipe.apache-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a7511f2766ede59378f1c6f77fdc6acc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11804, "upload_time": "2008-04-27T15:26:55", "url": "https://files.pythonhosted.org/packages/3b/46/2a1425416f32851e3c184823a9e07b28627f41bda69e535d70c9b18f262e/plone.recipe.apache-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "14a9573239260e9917d492b87720c19e", "sha256": "c89ca8b067aad0044b21d7f4ec74accea8969358e709adbdc033ba49a3389d26" }, "downloads": -1, "filename": "plone.recipe.apache-0.2.0-py2.4.egg", "has_sig": false, "md5_digest": "14a9573239260e9917d492b87720c19e", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 21495, "upload_time": "2008-06-30T09:21:29", "url": "https://files.pythonhosted.org/packages/16/22/097dbde1519e4a6c78f9a0c7af1217d4548c2a865654500e3af233ec7f27/plone.recipe.apache-0.2.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "c31a711c240ffd45210390638661033e", "sha256": "3de43fec58c1fb254d61d5f716b481bb9a7e2fc87661d4cffc47a76b91bce3b0" }, "downloads": -1, "filename": "plone.recipe.apache-0.2.0.tar.gz", "has_sig": false, "md5_digest": "c31a711c240ffd45210390638661033e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11614, "upload_time": "2008-06-30T09:21:28", "url": "https://files.pythonhosted.org/packages/54/34/ce47acf07ebf8d1909bcf49fdc09ebe533d55b28fb9910064c5561b19d67/plone.recipe.apache-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "0d17e83add1f5b7b889b5b5b7266253b", "sha256": "1f5625881491cfc18e824be844e8e5a41d29553fb6f91534041694e0c59be075" }, "downloads": -1, "filename": "plone.recipe.apache-0.2.1-py2.4.egg", "has_sig": false, "md5_digest": "0d17e83add1f5b7b889b5b5b7266253b", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 21529, "upload_time": "2008-07-02T17:04:08", "url": "https://files.pythonhosted.org/packages/bf/0a/194b6338c1953f33a9473671438503922247b8be368851eeefdf8434dfe7/plone.recipe.apache-0.2.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "6c7e60aaa230ccad97108d028d25ab3a", "sha256": "28f6ce17d118c910025fb29cbd6cd959658344842a5ecab67f056f3e5a965eff" }, "downloads": -1, "filename": "plone.recipe.apache-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6c7e60aaa230ccad97108d028d25ab3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11667, "upload_time": "2008-07-02T17:04:06", "url": "https://files.pythonhosted.org/packages/a0/de/e3fc2f05de002e7a93ebe6c16d8d1492bac22acd8b0950f1a17cf06836fd/plone.recipe.apache-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "df989fe220006847743d5163207186cd", "sha256": "a815febf724e7a7b71c6bc1e54ae43325d9b7bc313ef8ff7dd581442acaa3c88" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.0-py2.4.egg", "has_sig": false, "md5_digest": "df989fe220006847743d5163207186cd", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 25639, "upload_time": "2008-11-12T18:39:21", "url": "https://files.pythonhosted.org/packages/b4/c5/1fb3a1b03fcbc322f51037534fd28e1875e1f6aa7ad2605b3e0f96f879c4/plone.recipe.apache-0.3.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "d15712d3c84cdf3eb3652a69035928bf", "sha256": "b24ea12ba0b0dfe36d69f4c32f602aaabcdf0eddb26bc776eb4dfe1330898212" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d15712d3c84cdf3eb3652a69035928bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15247, "upload_time": "2008-11-12T18:39:20", "url": "https://files.pythonhosted.org/packages/d0/9f/3e539c2dad77d84b2f4fd7e4c93896c98cc9aa0af14d50bae38dcf1a5e29/plone.recipe.apache-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "4271c29c306e172739d9a5b60cfd3cde", "sha256": "6a9c3718c0630a4ace730116c866981060c398ef7ca42d4b422c0d38493a2318" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.1-py2.4.egg", "has_sig": false, "md5_digest": "4271c29c306e172739d9a5b60cfd3cde", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 18802, "upload_time": "2009-08-14T19:11:39", "url": "https://files.pythonhosted.org/packages/5e/bd/15c79b4e61044d9e09c95f01495d11825e8ff17f46732bf78edb69415aa4/plone.recipe.apache-0.3.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "cf2411f55cbb69aac0d18c0fe39ffcf3", "sha256": "b5ceca462a3667b8b4d4f3fb8eaffef9fe1e1454e5d7cd267e71a766327d7c6b" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.1.tar.gz", "has_sig": false, "md5_digest": "cf2411f55cbb69aac0d18c0fe39ffcf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11251, "upload_time": "2009-08-14T19:11:03", "url": "https://files.pythonhosted.org/packages/78/95/45c014a40de63ebc643c08828fa4c6f6aff1be4eab45e8a07bae23af062c/plone.recipe.apache-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "7bbf9135c85ecf256a01800bfb27a289", "sha256": "c4557c75fc17a38efb85daf5ecc0de6cdfdcd044b6c2434fcd3fae9bc747b2f6" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.2-py2.4.egg", "has_sig": false, "md5_digest": "7bbf9135c85ecf256a01800bfb27a289", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 26902, "upload_time": "2010-07-27T14:24:01", "url": "https://files.pythonhosted.org/packages/cd/7b/3b7a2a6437f5a42389cfe5742fcc37fdfe77eca2cf96dbedb96cd6eaf091/plone.recipe.apache-0.3.2-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "58d03ef9b5078b60b0402387ab467895", "sha256": "d7f515b24c8f9b626f0d26f531dea57badeab337e8c92758b69600d4ac973468" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.2.tar.gz", "has_sig": false, "md5_digest": "58d03ef9b5078b60b0402387ab467895", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15063, "upload_time": "2010-07-27T14:24:00", "url": "https://files.pythonhosted.org/packages/08/05/08ba5e31f6368441533cda640c9343c4350cf99fb317e76a056d58c2873e/plone.recipe.apache-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "a67cf6da5301e23fa6b30822eeb62318", "sha256": "5a1af6d7888c140c8f4729d17e914e8bd7bfb79ed3b1308e37f239bc8397c7fc" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.3.tar.gz", "has_sig": false, "md5_digest": "a67cf6da5301e23fa6b30822eeb62318", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15827, "upload_time": "2015-09-11T14:09:26", "url": "https://files.pythonhosted.org/packages/be/3d/5941d641b4c07e0f39e6ea5f13f1ed1869c615efe8be677d879f5998cb92/plone.recipe.apache-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a67cf6da5301e23fa6b30822eeb62318", "sha256": "5a1af6d7888c140c8f4729d17e914e8bd7bfb79ed3b1308e37f239bc8397c7fc" }, "downloads": -1, "filename": "plone.recipe.apache-0.3.3.tar.gz", "has_sig": false, "md5_digest": "a67cf6da5301e23fa6b30822eeb62318", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15827, "upload_time": "2015-09-11T14:09:26", "url": "https://files.pythonhosted.org/packages/be/3d/5941d641b4c07e0f39e6ea5f13f1ed1869c615efe8be677d879f5998cb92/plone.recipe.apache-0.3.3.tar.gz" } ] }