Description

When using Moin v1.9.1, if i serve it on Apache, i cannot create or access any pages contain Chinese character in their name. But in a desktop version, they can be correctly created and accessed.

Steps to reproduce

  1. Serve Moin v1.9.1 on Apache, using fast cgi or cgi mode.
  2. Visit a not-exist Chinese named wiki page.
  3. The name shown in the page will become several question marks or something else.
  4. Click "Create new empty page" link.
  5. Page editing form cannot be shown.

Example

desktop.png

apache.png

Component selection

Details

MoinMoin Version

1.9.1

OS and Version

Win 7 Enterprise 32bit

Python Version

2.5.4

Server Setup

Apache 2.2.14

Server Details

Apache running on local machine, use cgi mode

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

See there: http://hg.moinmo.in/moin/1.9/file/tip/wiki/server/moin.fcgi

Discussion

This is likely a Windows/Apache issue. Moin uses the same core code (WSGI) for anything.

MoinMoin.support.werkzeug.contrib.fixers.PathInfoFromRequestUriFix looks like it is maybe related to your problem, try it.


I tried mod_wsgi today. When using mod_wsgi, there is no problem. The problem only occurs when using CGI/fastCGI, and I still cannot find a solution. -- JiZhou 2010-02-20 11:07:18

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/CannotCreatePagesWithChineseNameInApache (last edited 2010-02-20 15:09:56 by ThomasWaldmann)