changeset 2971:7fb3bc39c7b1

moin.fcg: add example for running under / url (port from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 05 Jan 2008 20:58:40 +0100
parents 2620aa4811a4
children 70f2d676920b
files wiki/server/moin.fcg
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/server/moin.fcg	Sat Jan 05 20:53:31 2008 +0100
+++ b/wiki/server/moin.fcg	Sat Jan 05 20:58:40 2008 +0100
@@ -55,6 +55,9 @@
 
 def handle_request(req, env, form):
     request = request_fcgi.Request(req, env, form)
+    # use this instead of the line above if your wiki runs under "/" url:
+    #request = request_fcgi.Request(req, env, form, properties={'script_name': '/'})
+
     request.run()
 
 if __name__ == '__main__':