Revision 13765
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/BIEN3/TWiki/twiki.conf | ||
---|---|---|
96 | 96 |
# The first parameter will be part of the URL to your installation e.g. |
97 | 97 |
# http://example.com/do/view/... |
98 | 98 |
# The second parameter must point to the physical path on your disc. |
99 |
ScriptAlias /twiki/do "/home/bien/svn/web/.twiki/bin"
|
|
99 |
ScriptAlias /twiki/do "/home/bien/web/.twiki/bin" |
|
100 | 100 |
|
101 | 101 |
# The Alias defines a url that points to the twiki pub directory, which |
102 | 102 |
# is the root of file attachments. |
103 |
Alias /twiki/pub "/home/bien/svn/web/.twiki/pub"
|
|
104 |
Alias /twiki "/home/bien/svn/web/.twiki"
|
|
103 |
Alias /twiki/pub "/home/bien/web/.twiki/pub" |
|
104 |
Alias /twiki "/home/bien/web/.twiki" |
|
105 | 105 |
|
106 | 106 |
# Block access to typical spam related attachments |
107 | 107 |
# Except the TWiki directory which is read only and does have attached html files. |
... | ... | |
111 | 111 |
# This specifies the options on the TWiki scripts directory. The ExecCGI |
112 | 112 |
# and SetHandler tell apache that it contains scripts. "Require all granted" |
113 | 113 |
# lets any IP address access this URL. |
114 |
<Directory "/home/bien/svn/web/.twiki/bin">
|
|
114 |
<Directory "/home/bien/web/.twiki/bin"> |
|
115 | 115 |
AllowOverride None |
116 | 116 |
Require all granted |
117 | 117 |
Deny from env=blockAccess |
... | ... | |
120 | 120 |
SetHandler cgi-script |
121 | 121 |
|
122 | 122 |
# Password file for TWiki users |
123 |
#AuthUserFile /home/bien/svn/web/.twiki/data/.htpasswd
|
|
123 |
#AuthUserFile /home/bien/web/.twiki/data/.htpasswd |
|
124 | 124 |
#AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith)' |
125 | 125 |
#AuthType Basic |
126 | 126 |
|
... | ... | |
131 | 131 |
|
132 | 132 |
</Directory> |
133 | 133 |
|
134 |
<Directory "/home/bien/svn/web/.twiki">
|
|
134 |
<Directory "/home/bien/web/.twiki"> |
|
135 | 135 |
Require all granted |
136 | 136 |
Deny from env=blockAccess |
137 | 137 |
|
... | ... | |
148 | 148 |
# so if you want to control access to files attached to topics you need to |
149 | 149 |
# block access to the specific directories same way as the ApacheConfigGenerator |
150 | 150 |
# blocks access to the pub directory of the Trash web |
151 |
<Directory "/home/bien/svn/web/.twiki/pub">
|
|
151 |
<Directory "/home/bien/web/.twiki/pub"> |
|
152 | 152 |
#Options None |
153 | 153 |
Options FollowSymLinks |
154 | 154 |
AllowOverride None |
... | ... | |
178 | 178 |
|
179 | 179 |
# Spammers are known to attach their stuff and then move it to trash where it remains unnoticed. |
180 | 180 |
# We prevent viewing any attachments directly from pub |
181 |
<Directory "/home/bien/svn/web/.twiki/pub/Trash">
|
|
181 |
<Directory "/home/bien/web/.twiki/pub/Trash"> |
|
182 | 182 |
deny from all |
183 | 183 |
</Directory> |
184 | 184 |
|
Also available in: Unified diff
web/BIEN3/TWiki/twiki.conf: updated paths