Package: python-moinmoin

The apache2 example is broken
- for the default apache2 on lenny, it is necessary to include a port number in the <Virtualhost> directive, e.g. <VirtualHost *:80> rather than just <VirtualHost *>
- the static alias should be moin_static171 and not just static

This is what worked for me:


<VirtualHost *:80>

 ServerName wiki.example.org
 DocumentRoot /var/www/wiki.example.org/

      <Directory /var/www/wiki.example.org/moin.cgi>
               Options +ExecCGI
       </Directory>

       Alias           /moin_static171/ /usr/share/moin/htdocs/

       AcceptPathInfo  On

       RewriteEngine   On

       RewriteRule     ^/moin_static171/ - [last]
       RewriteRule     ^/wiki/moin(/(.*))?  /$2     [last,R]

       RewriteRule     ^/static/       -       [last]
       RewriteRule     ^/robots.txt    -       [last]
       RewriteRule     ^/favicon.ico   -       [last]
RewriteRule ^/wiki/?(.*) /var/www/wiki.example.org/moin.cgi/$1 [last,type=application/x-httpd-cgi]

</VirtualHost>





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to