[kforge-dev] Changeset [1045]: bugfix/feature: improvement ensure 'edge-case' www services are added last ...

10: Timeline admin at okfn.org
Mon Nov 27 18:49:32 UTC 2006


bugfix/feature: improvement ensure 'edge-case' www services are added last into apache config. 

The problem: we have to add www services to apache config last in order to prevent premature matching of Alias commands (for any project www services create the shortest Alias url). However our current setup assumes that a www service is called 'www' and this is not necessarily the case (you can call your www service anything at present) and when this happened the previously mentioned requirements of adding www service last was not being met. 

The solution: 

  * /trunk/src/kforge/apache/apacheconfig.py: modify getProjectHostConfig to test for type of service rather than its name when looking for www services

URL: http://project.knowledgeforge.net/kforge/trac/changeset/1045




More information about the kforge-dev mailing list