1. Standalone or Twisted setup
If you want to use Twisted, edit mointwisted.py and set these options:
properties = {'script_name': '/mywiki', 'http_host': 'yourdomain'} port = 8000 interfaces = ['localhost']
If you want to use Standalone, edit standalone.py and set these options:
properties = {'script_name': '/mywiki', 'http_host': 'yourdomain'} port = 8000 interface = 'localhost'
Another solution may be to use url_mapping config option.
2. Apache 1 setup
This setup requires mod_proxy. Make sure it's installed and loaded before you continue.
Edit your Apache configuration file, either httpd.conf or an included configuration file:
# Can be off for reverse proxying, more secure ProxyRequests Off Alias /moin_static160/ "/usr/share/moin/htdocs/" <Location /exwiki> ProxyPass http://localhost:8000/ ProxyPassReverse http://localhost:8000/ </Location>
Now restart Apache and test your wiki at http://www.example.com/exwiki/
Note that your wiki will not work correctly from http://localhost:8000 with this setup.
Tested with Apache 2, should work also on Apache 1.