~kosova/+junk/tuxfamily-twiki

« back to all changes in this revision

Viewing changes to twiki/bin/.htaccess

  • Committer: James Michael DuPont
  • Date: 2009-07-18 17:36:43 UTC
  • Revision ID: jamesmikedupont@gmail.com-20090718173643-mrkew0knhe3fsc3n
update

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
7
 
# =configure=.
8
 
#
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
15
7
 
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.
35
 
SetHandler cgi-script
 
27
# SetHandler cgi-script
36
28
 
37
29
# Password file for TWiki users
38
30
#
39
31
 
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.'
44
34
AuthType Basic
45
35
 
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.'
52
 
#AuthType Digest
53
 
 
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
58
 
#<Limit GET POST PUT>
59
 
#    require group cn=mygroup,ou=groups,dc=yourldapserver,dc=com
60
 
#</Limit>
61
 
#AuthName ByPassword
62
 
#AuthType Basic
63
36
 
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.*">
84
 
        SetHandler cgi-script
 
56
#<FilesMatch "configure.pl">
 
57
        #SetHandler cgi-script
85
58
        #Order Deny,Allow
86
59
        #Deny from all
87
60
#       Allow from 127.0.0.1, 192.168.1.10
88
61
#       Require user h4ck3rm1k3
89
 
        Satisfy Any
90
 
</FilesMatch>
 
62
#       Satisfy Any
 
63
#</FilesMatch>
91
64
 
92
65
AddType application/x-httpd-self .pl
93
66