Ignore:
Timestamp:
12/04/08 11:42:19 (3 years ago)
Author:
CrawfordCurrie
Message:

Item295: more detoxing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/data/System/AccessControl.txt

    r940 r1163  
    135135 
    136136<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/ 
    139139 
    140140    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] 
    143143</verbatim> 
    144144 
     
    199199---+++ Restrict Access to Whole Foswiki Site 
    200200 
    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 =&lt;FilesMatch "(attach|edit|...= section with this: 
     201For 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 =&lt;FilesMatch "(attach|edit|...= section with this: 
    202202 
    203203<verbatim> 
Note: See TracChangeset for help on using the changeset viewer.