Hi all,

    I need your help... I have configured a MoinMoin wiki in my server but I have problems when I enter an URL like this: http://wiki.myserver.com/P%C3%A1ginaPrincipal?action=fullsearch&value=linkto%3A%22P%C3%A1ginaPrincipal%22&context=180 (http://wiki.myserver.com/PáginaPrincipal?action=fullsearch&value=linkto:"PáginaPrincipal"&context=180)

    The problem is that the apache2 process goes to 100% CPU usage... the only wait to stop it is doing a apache2 restart.

    Above you can see my system configuration.


linux Ubuntu
Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
apache2  v2.0.54
mod_python 3.1.3

<VirtualHost *:80>
    ServerName     wiki.myserver.com
    ServerAdmin    my-email@myserver.com
    ErrorLog       /var/log/apache2/wiki.myserver.com-error.log
    CustomLog      /var/log/apache2/wiki.myserver.com-access.log combined

    Alias /wiki/ "/usr/share/moin/htdocs/"

    # Rewrite urls
    RewriteEngine On
    RewriteLogLevel 0
    # map /wiki static files to Moin htdocs
    RewriteRule ^/wiki/(.*)$ /usr/share/moin/htdocs/$1 [last]
    RewriteRule ^/robots.txt$ /usr/share/moin/htdocs/robots.txt [last]
    RewriteRule ^/favicon.ico$ /usr/share/moin/htdocs/favicon.ico [last]
    # map everything else to server script
    RewriteRule ^(.*)$ /home/sharky/VirtualHosts/MoinMoinWiki/html/moinmodpy.py$1

    <Directory "/home/sharky/VirtualHosts/MoinMoinWiki/html">
        # These are copied from the default cgi-bin directory
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all

        # Modpy stuff
        AddHandler python-program .py
        # Add the path to the wiki directory, where
        # moinmodpy.py and wikiconfig.py are located.
        PythonPath "['/home/sharky/VirtualHosts/MoinMoinWiki/html'] + sys.path"
        PythonHandler moinmodpy
        PythonDebug On
    </Directory>

</VirtualHost>