Short description

I would like to be able to remove the script name from internal URLs when running moin with (f)cgi. I'm running moin.cgi at /public/moin.cgi and using mod_rewrite to invisibly add "/public/moin.cgi" to incoming URLs, but moin's internal links still include that path.

This was possible in 1.8.x via a setting in moin.cgi:

    properties = {'script_name':'/'}

but the option is no longer present in 1.9.x -- the config file has changed.

(!) This needs some (f)cgi users to work on and test some code that can be included in moin distribution. I personally don't run any (f)cgi setups. -- ThomasWaldmann 2010-02-02 15:45:41

Note: werkzeug.contrib.fixers might have some related middleware code, please try it.

Fixed since moin 1.9.2 in the alternative fcgi script: http://hg.moinmo.in/moin/1.9/file/1.9.2/wiki/server/moin.fcgi

Thanks to RadomirDopieralski!


CategoryFeatureImplemented

MoinMoin: FeatureRequests/HideScriptName (last edited 2010-03-07 22:38:55 by ThomasWaldmann)