Changeset 1163 for trunk/core/data/System/AccessControl.txt
- Timestamp:
- 12/04/08 11:42:19 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/data/System/AccessControl.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/AccessControl.txt
r940 r1163 135 135 136 136 <verbatim> 137 ScriptAlias / twiki/bin/ /filesystem/path/to/twiki/bin/138 Alias / twiki/pub/ /filesystem/path/to/twiki/pub/137 ScriptAlias /foswiki/bin/ /filesystem/path/to/bin/ 138 Alias /foswiki/pub/ /filesystem/path/to/pub/ 139 139 140 140 RewriteEngine on 141 RewriteCond %{REQUEST_URI} !^/+ twiki/+pub/+Foswiki/+.+142 RewriteRule ^/+ twiki/+pub/+([^/]+)((/+([^/]+))+)/+(.+) /twiki/bin/viewfile/$1/$2?filename=$5 [L,PT]141 RewriteCond %{REQUEST_URI} !^/+foswiki/+pub/+Foswiki/+.+ 142 RewriteRule ^/+foswiki/+pub/+([^/]+)((/+([^/]+))+)/+(.+) /foswiki/bin/viewfile/$1/$2?filename=$5 [L,PT] 143 143 </verbatim> 144 144 … … 199 199 ---+++ Restrict Access to Whole Foswiki Site 200 200 201 For a firewalled Foswiki, e.g. an intranet wiki or extranet wiki, you want to allow only invited people to access your Foswiki. In this case, enable [[UserAuthentication#ApacheLogin][user authentication with ApacheLogin]] and lock down access to the whole = twiki/bin= and =twiki/pub= directories to all but valid users. In the Apache =.htaccess= file or the appropriate =.conf= file, replace the =<FilesMatch "(attach|edit|...= section with this:201 For a firewalled Foswiki, e.g. an intranet wiki or extranet wiki, you want to allow only invited people to access your Foswiki. In this case, enable [[UserAuthentication#ApacheLogin][user authentication with ApacheLogin]] and lock down access to the whole =bin= and =pub= directories to all but valid users. In the Apache =.htaccess= file or the appropriate =.conf= file, replace the =<FilesMatch "(attach|edit|...= section with this: 202 202 203 203 <verbatim>
Note: See TracChangeset
for help on using the changeset viewer.
