Package: python-moinmoin

If it is necessary to run the wiki on the same virtual host as other sites, then a path needs to be added after the domain, e.g. www.example.org/wiki/

This is particularly useful for people who have a single SSL certificate and they want to run multiple sites (wiki, webmail, etc) under a single SSL domain.

Here is the Apache 2 example modified to put the wiki at http://www.example.org/wiki/ :


 <VirtualHost *:80>
   ServerName www.example.org
   DocumentRoot /var/www/secure.example.org
   <Directory /var/www/www.example.org/wiki/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/www.example.org/wiki/moin.cgi/$1 [last,type=application/x-httpd-cgi]
 </VirtualHost>




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to