Farmconfig does not match url as expected, because it ignores the port part, which is part of the url according to the rfc.
Steps to reproduce
- Try to run two wikis using standalone or twisted, each one on a different port, e.g. 8000 and 8001.
- Both localhost:8000 and localhost:8001 are not matched.
You get warning in twisted log:
2004/12/14 14:39 IST [HTTPChannel,0,18.104.22.168] /Volumes/Home/nir/Projects/moin/main/MoinMoin/multiconfig.py:97: exceptions.UserWarning: could not find a config file for url: nirs.dyndns.org/HelpContents; default configuration used instead.
And an empty wiki - header, title, and footer - for every page.
Patch 442 improved the situation for standalone, now standalone does use the the port in the url, and you can configure easily multiple wikis using the port.
Patch 535 fixes it for twisted.
Somebody please check with modpy/cgi/fcgi and reopen if broken.
- Priority: medium
Assigned to: ThomasWaldmann
- Status: fixed. will be in 1.3.2.