##  
##  twiki.conf -- Apache Configuration for TWiki
##

RewriteEngine     on
RewriteRule       ^/twiki/?$  /twiki/bin/view/Main/WebHome [R,L]

ScriptAlias       /twiki/bin/ "@l_prefix@/libexec/twiki/"
Alias             /twiki/     "@l_prefix@/var/twiki/"

<Directory "@l_prefix@/libexec/twiki">
    Options       +ExecCGI
    SetHandler    cgi-script
    Allow from    all
</Directory>

<Directory "@l_prefix@/var/twiki/pub">
    Options       FollowSymLinks +Includes
    AllowOverride None
    Allow         from all
</Directory>

<Directory "@l_prefix@/var/twiki/data">
    deny          from all
</Directory>

