Description
I want to have the Standalone-Server accessible from other computers. According to the comments in wikiserverconfig.py, I changed:
class LocalConfig(DefaultConfig):
interface = 'localhost'
to
class LocalConfig(DefaultConfig):
interface = ''
Access from another computer is still not possible after this change.
Steps to reproduce
Configure a Standalone MoinMoinWiki using interface = "" and try to access it from a machine different to localhost.
Example
Component selection
in site-packages/MoinMoin/script/server/standalone.py
The class DefaultConfig(object) is defined using only the variable hostname (NOT interface). Therefore defining a variable interface in the wikiserverconfig.py does not change it.
Details
MoinMoin Version |
1.9.3 [Revision release] |
OS and Version |
Debian 4.1.1-21 |
Python Version |
2.6.2 |
Server Setup |
Standalone |
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Two possibilities:
Use the variable hostname instead of interface in wikiserverconfig.py
- Use the option on the command line, e.g.,
moin server standalone --interface=""
Discussion
I would just change the comment in wikiserverconfig.py so that everybody knows that the variable is now called hostname
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.9/rev/5b262b81c236