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
colas@0
     1
# Sample Root '.htaccess' file
colas@0
     2
colas@0
     3
# Controls access to TWiki 'root' directory (parent of the 'bin' directory)
colas@0
     4
# - rename this file to '.htaccess' to have Apache use it.
colas@0
     5
colas@0
     6
# Turn off directory indexing in this and sub directories
colas@0
     7
Options -Indexes
colas@0
     8
colas@0
     9
# Redirect any access to 'index.html' to the 'view' script (i.e. Main.WebHome)
colas@0
    10
# Disabled by default - uncomment if required, will hide the real index.html.
colas@0
    11
#
colas@0
    12
# The first path here must be a URL path, not a file pathname
colas@0
    13
# Redirect /urlpath/to/twiki/index.html http://your.domain.com/urlpath/to/twiki/bin/view