/usr/share/doc/python-moinmoin/examples/apache20.conf is in python-moinmoin 1.9.9-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | <VirtualHost *:80>
ServerName wiki.site.com
DocumentRoot /var/www/wiki.site.com
### Serve static contents (images, javascript, css...) ###
AliasMatch "^/moin_static[0-9]*/applets/FCKeditor/(.*)" "/usr/share/fckeditor/$1"
<Directory "/usr/share/fckeditor/">
Options None
AllowOverride None
</Directory>
# The path to static contents changes (named after moinmoin version).
AliasMatch "^/moin_static[0-9]*/(.*)" "/usr/share/moin/htdocs/$1"
<Directory "/usr/share/moin/htdocs/">
Options -Indexes -FollowSymlinks
AllowOverride None
</Directory>
### vhost ###
Alias /robots.txt /usr/share/moin/htdocs/robots.txt
Alias /favicon.ico /usr/share/moin/htdocs/favicon.ico
WSGIDaemonProcess mywiki user=jonas group=jonas processes=4 display-name=moin-wsgi-mywiki
WSGIProcessGroup mywiki
WSGIScriptAlias / "/usr/share/moin/server/moin.wsgi"
# Read: http://moinmo.in/HowTo/ApacheWithModWSGI
</VirtualHost>
<VirtualHost *:80>
ServerName www.wiki.site.com
ServerAlias *.wiki.site.com
RewriteEngine On
RewriteRule / http://wiki.site.com/ [R]
TransferLog /dev/null
</VirtualHost>
|