#          ---------------------------------
#          Roger's virtual host(s) settings:
#          ---------------------------------

#                           TEFLCHINA.ORG
<VirtualHost *>

    ServerAdmin rogerhc@pacbell.net
    DocumentRoot        /var/www/teflchina.org
    ServerName                   teflchina.org
    ErrorLog            /var/www/logs/teflchina.org-error_log
    CustomLog           /var/www/logs/teflchina.org-access_log common
    RedirectMatch /job(/.*)$            http://teflchina.org/jobs$1
    RedirectMatch /job$                 http://teflchina.org/jobs
    RedirectMatch /teaching(/.*)$       http://teflchina.org/teach$1
    RedirectMatch /teaching$            http://teflchina.org/teach
    RedirectMatch /living(/.*)$         http://teflchina.org/life$1
    RedirectMatch /living$              http://teflchina.org/life
    RedirectMatch /live(/.*)$           http://teflchina.org/life$1
    RedirectMatch /live$                http://teflchina.org/life
    RedirectMatch /help(/.*)$           http://teflchina.org/welcome$1
    RedirectMatch /help$                http://teflchina.org/welcome
    RedirectMatch /support(/.*)$        http://teflchina.org/welcome$1
    RedirectMatch /support$             http://teflchina.org/welcome
    RedirectMatch /emaillists?(/.*)$    http://teflchina.org/lists$1
    RedirectMatch /emaillists?$         http://teflchina.org/lists
    RedirectMatch /kit(/.*)$            http://teflchina.org/kitchen$1
    RedirectMatch /kit$                 http://teflchina.org/kitchen

# twiki stuff

ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/"
Alias /twiki/ "/home/httpd/twiki/"

<Directory /home/httpd/twiki/bin>
    Options +ExecCGI
    SetHandler cgi-script
    Order deny,allow
    Allow from all
</Directory>
<Directory /home/httpd/twiki/pub>
    Options FollowSymLinks +Includes
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>
<Directory /home/httpd/twiki/data>
    Order deny,allow
    Deny from all
</Directory>
<Directory /home/httpd/twiki/templates>
    Order deny,allow
    Deny from all
</Directory>

# end twiki

</VirtualHost>
