changeset 4961:022388540d94

added comment about (non-)usage of werkzeug's run_simple(static_files=x)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 25 Aug 2009 18:58:32 +0200
parents 2a024d3e418f
children 3c51f98f69d2
files MoinMoin/script/server/standalone.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/server/standalone.py	Tue Aug 25 18:46:40 2009 +0200
+++ b/MoinMoin/script/server/standalone.py	Tue Aug 25 18:58:32 2009 +0200
@@ -157,6 +157,10 @@
     extra_files = None
     reloader_interval = 1
 
-    # use this later instead of our middleware-setup in MoinMoin.web.static:
+    # we can't use static_files to replace our own middleware setup for moin's
+    # static files, because we also need the setup with other servers (like
+    # apache), not just when using werkzeug's run_simple server.
+    # But you can use it if you need to serve other static files you just need
+    # with the standalone wikiserver.
     static_files = None