root-htaccess.txt
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
     1 # Sample Root '.htaccess' file
     2 
     3 # Controls access to TWiki 'root' directory (parent of the 'bin' directory)
     4 # - rename this file to '.htaccess' to have Apache use it.
     5 
     6 # Turn off directory indexing in this and sub directories
     7 Options -Indexes
     8 
     9 # Redirect any access to 'index.html' to the 'view' script (i.e. Main.WebHome)
    10 # Disabled by default - uncomment if required, will hide the real index.html.
    11 #
    12 # The first path here must be a URL path, not a file pathname
    13 # Redirect /urlpath/to/twiki/index.html http://your.domain.com/urlpath/to/twiki/bin/view