With USE="-vhosts" and apache, /var/log/apache2/error_log: Traceback (most recent call last): File "/var/www/localhost/htdocs/moinmoin/moin.cgi", line 37, in <module> from MoinMoin.web.flup_frontend import CGIFrontEnd ImportError: No module named 'MoinMoin' [Thu Apr 18 19:02:45.012906 2013] [cgid:error] [pid 5539:tid 140308134201088] Editing shebang to specify python2 /var/www/localhost/htdocs/moinmoin/moin.cgi: #!/usr/bin/env python2 gets it working. One file could probably be installed in /usr/bin with a fixed shebang too instead of current: /usr/bin/moin /usr/bin/moin-python2.7
Fixed in 1.9.7-r1.