PaulHowarth/Blog/2008-05-30

Friday 30th May 2008

Local Packages

  • New package moin-theme-dew, which I'm going to use as a starter for the wiki version of the SHAS website.

  • Updated dkms to 2.0.19.1

SHAS Website

With a view to making it easier for people to get content on to the website, I've created an experimental wiki version of the SHAS website.

This is a root wiki using mod_fcgid, and the Apache configuration is basically this:

# Virtual server for wiki.shas.org.uk
<VirtualHost *:80>

  ServerName          wiki.shas.org.uk

  # DocumentRoot is irrelevant since there are no static pages
  DocumentRoot        "/srv/www/shas/content"

  ServerAdmin         webmaster@shas.org.uk

  RewriteEngine On
  RewriteLogLevel 0

  # Point to moin shared static files
  RewriteRule ^/moin_static163/(.*)$ /usr/share/moin/htdocs/$1 [last]

  <Directory "/usr/share/moin/htdocs/">
      Options Indexes FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
      <IfModule mod_expires.c>
           ExpiresActive On
           ExpiresDefault "access plus 1 month"
      </IfModule>
  </Directory>

  # FastCGI dynamic application with mod_fcgid
  RewriteRule ^(.*)$ /srv/www/shas-wiki/cgi-bin/moin.fcg$1 [type=application/x-httpd-fcgid]
  <Directory "/srv/www/shas-wiki/cgi-bin/">
      Options Indexes FollowSymLinks ExecCGI
      AllowOverride None
      Order allow,deny
      Allow from all
  </Directory>

</VirtualHost>


Recent