changeset 1240:942d27d8fdf3

remove SERVER_NAME due to troubles When using SERVER_NAME="", the cookie domain gets set to ".". Works for firefox, but not for chromium (one can not log in). Also, one could not use url http://localhost:8080 because (of course) it only matches when configured like this. So it is better to leave away this setting, then the cookie domain will be unspecified. Initially this was introduced to fix issue #96 (missing port in url_for(_item) output), but it somehow does not happen any more.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 17 Jan 2012 21:08:30 +0100
parents 7d2a51d05e73
children fca26a1acf26
files docs/admin/serve.rst
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/docs/admin/serve.rst	Sun Jan 15 16:30:01 2012 +0100
+++ b/docs/admin/serve.rst	Tue Jan 17 21:08:30 2012 +0100
@@ -23,13 +23,6 @@
  # or, if you need another ip/port:
  moin moin --config /path/to/ --host --port 7777
-If you plan to use an IP or hostname different from, please also set::
-accordingly in your wiki config. Use the IP or hostname that you use in the web
-browser when accessing the wiki.
 MoinMoin will start the built-in server and try to locate the wiki configuration
 from one of the following: **NOTE: please use an absolute path**
--- a/	Sun Jan 15 16:30:01 2012 +0100
+++ b/	Tue Jan 17 21:08:30 2012 +0100
@@ -76,7 +76,6 @@
 MOINCFG = Config # Flask only likes uppercase stuff
 # Flask settings - see the flask documentation about their meaning
 SECRET_KEY = 'you need to change this so it is really secret'
 #DEBUG = False # use True for development only, not for public sites!
 #TESTING = False