4
4
# file to '.htaccess' and REPLACE THE FOLLOWING STRINGS WHEREVER YOU SEE
5
5
# THEM IN THIS FILE WITH PATHS SPECIFIC TO YOUR INSTALLATION.
6
6
# Most required values can be seen in the Path Settings section of
9
# Replace {DataDir} with the value from =configure=
10
# Replace {DefaultUrlHost} with the value from =configure=
11
# Replace {ScriptUrlPath} with the value from =configure=
12
# Replace {Administrators} with a space-separated list of the login
13
# name(s) of the person(s) allowed to run the configure script
14
# e.g. admin root superhero
16
8
# We set an environment variable called anonymous_spider
17
9
# Setting a BrowserMatchNoCase to ^$ is important. It prevents TWiki from
32
24
# Use CGI & Perl to handle all files in 'bin' directory, i.e. run as scripts
33
25
# - this should remove the need to rename files to end in '.pl' etc,
34
26
# if your web hosting provider permits this. Remove if using mod_perl.
27
# SetHandler cgi-script
37
29
# Password file for TWiki users
40
# Authentication type (htpasswd file) (comment out this if you configure htpasswd / LDAP support)
41
# '/data/web/4d/15/05/flossk.tuxfamily.org/htdocs/twiki/data/.htpasswd';
42
32
AuthUserFile "/data/web/4d/15/05/flossk.tuxfamily.org/htdocs/twiki/data/.htpasswd"
43
33
AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.'
46
#for htdigest password suport uncomment the following
47
#AuthDigestDomain {DefaultUrlHost}{ScriptUrlPath}/viewauth {DefaultUrlHost}{ScriptUrlPath}/edit {DefaultUrlHost}{ScriptUrlPath}/preview {DefaultUrlHost}{ScriptUrlPath}/save {DefaultUrlHost}{ScriptUrlPath}/attach {DefaultUrlHost}{ScriptUrlPath}/upload {DefaultUrlHost}{ScriptUrlPath}/rename {DefaultUrlHost}{ScriptUrlPath}/manage {DefaultUrlHost}{ScriptUrlPath}/installpasswd {DefaultUrlHost}{ScriptUrlPath}/passwd
48
#AuthDigestFile {DataDir}/.htdigest
49
# For "Digest" authentication to work properly, this string must match
50
# the value of configuration variable $authRealm
51
#AuthName 'Enter your WikiName. (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.'
54
#for LDAP password support uncomment the following (and fix up the paths)
55
#AuthLDAPURL ldap://yourldapserver/dc=yourldapserver,dc=com?uid?sub?(objectClass=posixAccount)
56
#AuthLDAPGroupAttribute memberUid
57
#AuthLDAPGroupAttributeIsDN off
59
# require group cn=mygroup,ou=groups,dc=yourldapserver,dc=com
64
37
# File to return on access control error (e.g. wrong password)
65
38
# By convention this is the TWikiRegistration page, that allows users
80
53
# The configure script is designed for administrators only.
81
54
# The script itself and the information it reveals can be abused by
82
55
# attackers if not properly protected against public access.
83
<FilesMatch "configure.*">
56
#<FilesMatch "configure.pl">
57
#SetHandler cgi-script
87
60
# Allow from 127.0.0.1, 192.168.1.10
88
61
# Require user h4ck3rm1k3
92
65
AddType application/x-httpd-self .pl