Permalink
Browse files

updating the doc

  • Loading branch information...
1 parent dabba80 commit 124fc11aa2eed07ccc0f4f33d480e0b8f5641ce1 @marchon committed Dec 28, 2011
Showing with 71 additions and 24 deletions.
  1. +71 −24 marchon.recipe.apachevhosts/marchon/recipe/apachevhosts/README.txt
@@ -1,41 +1,88 @@
.. contents::
+ Summary: buildout recipe that writes apache.conf virtual hosts
+
+ This is work derived from the work of: juan@grigera.com.ar
+
+ THANK YOU JUAN - You can see Juans other work at - www.gcommons.org
- Getting Started
- Sample Local buildout file
+ I forked this project and separated out the content from the gcommons because
+ I wanted a separate package with just the apache-virtualhost configurations
---------------------------------------------------------------------------------------------
-[buildout]
-develop = .
-parts= makesitedirs apache
-http-address = 127.0.0.1:8080
+ *** AND ***
+ the original work made a lot of assumptions about how you wanted the configuration
+ and template files and the documentation was sparse
+
+ I started this as a documentation contribution - and made so many changes to the
+ templates - I thought I should break it out.
+
+
-[makesitedirs]
-recipe = z3c.recipe.mkdir
-paths = foo/bar
- /darkmatter/site
- /journalcommons/site
- /historicalmaterialism/site
- ./parts/apache/conf.d/
+
+ Getting Started
+ Sample Local buildout file
+
+ --------------------------------------------------------------------------------------------
+ [buildout]
+ develop = .
+ parts= makesitedirs apache
+ http-address = 127.0.0.1:8080
+
+
+ [makesitedirs]
+ recipe = z3c.recipe.mkdir
+ paths = foo/bar
+ /darkmatter/site
+ /journalcommons/site
+ /historicalmaterialism/site
+ ./parts/apache/conf.d/
+
+
+
+
+ [apache]
+ recipe = marchon.recipe.apachevhosts
+ http-address = ${buildout:http-address}
+ postfix = test.gcommons.org
+ outputdir = parts/apache/conf.d/
+ vhosts =
+ darkmatter /darkmatter/site www.darkmatter.info
+ journalcommons /journalcommons/site www.gcommons.org
+ historicalmaterialism /historicalmaterialism/site www.historicalmaterialism.org
+
+
+ --------------------------------------------------------------------------------------------
+
+ REQUIRED VARIABLES:
+ vhosts =
+ shorthostname path fullhostname
+ http-address = 127.0.0.1:8080
-[apache]
-recipe = marchon.recipe.apachevhosts
-http-address = ${buildout:http-address}
-postfix = test.gcommons.org
-outputdir = parts/apache/conf.d/
-vhosts =
- darkmatter /darkmatter/site www.darkmatter.info
- journalcommons /journalcommons/site www.gcommons.org
- historicalmaterialism /historicalmaterialism/site www.historicalmaterialism.org
+ script-alias =
+ /cgibin ./cgibin
+ /cgi-bin ./cgi-bin
+ OPTIONAL VARIABLES:
---------------------------------------------------------------------------------------------
+ prefix = hostid
+ postfix = test.yourdomain.net
+ template =
+ outputdir = parts/apache/conf.d/
+ OPTIONAL VARIABLES - with default values:
+ absdir = '%s/sitepath' % self.buildout['buildout']['directory']
+ listenaddress = '*'
+ listenport = '80'
+ url = 'localhost'
+ serveradmin = 'webmaster@%s' % url
+ reldir = absdir
+ ProxyRequests = 'Off'
+ ProxyPath = 'http://localhost:8000'

0 comments on commit 124fc11

Please sign in to comment.