Rev 43: Fix typos. in http://bazaar.launchpad.net/%7Evila/bzr/local-test-server
Vincent Ladeuil
v.ladeuil+lp at free.fr
Sun Jun 29 09:42:33 BST 2008
At http://bazaar.launchpad.net/%7Evila/bzr/local-test-server
------------------------------------------------------------
revno: 43
revision-id: v.ladeuil+lp at free.fr-20080629084230-jnu02vxgw4tesvti
parent: v.ladeuil+lp at free.fr-20080627173832-usa6htm9m3x1ecm9
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: local_test_server
timestamp: Sun 2008-06-29 10:42:30 +0200
message:
Fix typos.
* server.py:
(Lighttpd.__init__): lighttp can't run with a cherokee conf.
(_servers): Fix previous sabotage making apache2 cherokee and
lighttpd act as apache2-dav servers.
modified:
server.py server.py-20080524160639-rqhbexqatjqbwypw-1
-------------- next part --------------
=== modified file 'server.py'
--- a/server.py 2008-06-27 17:38:32 +0000
+++ b/server.py 2008-06-29 08:42:30 +0000
@@ -457,7 +457,7 @@
_conf = config.Lighttpd()
# FIXME: it's weird to reverse parameter order
super(Lighttpd, self).__init__(_conf, port)
- self.output_config_path = self.config.abspath('etc/cherokee.conf')
+ self.output_config_path = self.config.abspath('etc/lighttpd.conf')
def _start(self):
try:
@@ -619,9 +619,9 @@
# in http://www.iana.org/assignments/port-numbers
_servers = dict()
-_servers['apache2'] = Apache2DAV(37000)
-_servers['cherokee'] = Apache2DAV(37001)
-_servers['lighttpd'] = Apache2DAV(37002)
+_servers['apache2'] = Apache2(37000)
+_servers['cherokee'] = Cherokee(37001)
+_servers['lighttpd'] = Lighttpd(37002)
_servers['apache2-dav'] = Apache2DAV(37003)
_servers['lighttpd-dav'] = LighttpdDAV(37004)
_servers['apache2-svn'] = Apache2SVN(37005)
More information about the bazaar-commits
mailing list