User:Barre/TWiki

From KitwarePublic
Jump to navigationJump to search

Installation Notes

<Directory />
[...]
  LayoutIgnoreURI /TWiki/*
[...]
  # Rewrite http://wiki.domain.tld/article properly, this is the main rule
  # RewriteRule .*Wiki(.*) /Wiki/index.php$1 [L]
  # rewrite the "abusive" above rule so that it does not catch TWiki
  RewriteRule ^[^T]*Wiki(.*) /Wiki/index.php$1 [L]
[...]
</Directory>

[...]

ScriptAlias /TWiki/bin/ "/projects/KitwareWeb/twiki/bin/"
Alias "/TWiki" "/projects/KitwareWeb/twiki"
<Directory "/projects/KitwareWeb/twiki/bin">
   Options +ExecCGI
   SetHandler cgi-script
   Allow from all
</Directory>
<Directory "/projects/KitwareWeb/twiki/pub">
   Options FollowSymLinks +Includes
   AllowOverride None
   Allow from all
</Directory>
<Directory "/projects/KitwareWeb/twiki/data">
   deny from all
</Directory>
<Directory "/projects/KitwareWeb/twiki/templates">
   deny from all
</Directory>