Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Directory "C:/xampp/htdocs/foswiki/bin">
- AllowOverride None
- Order Allow,Deny
- Allow from all
- Deny from env=blockAccess
- Options +ExecCGI +FollowSymLinks
- SetHandler cgi-script
- # Password file for Foswiki users
- AuthUserFile "C:/xampp/htdocs/foswiki/data/.htpasswd"
- 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.'
- AuthType Basic
- # File to return on access control error (e.g. wrong password)
- ErrorDocument 401 /foswiki/System/UserRegistration
- # Limit access to configure to specific IP address(es) and user(s).
- # Make sure configure is not open to the general public.
- # It exposes system details that can help attackers.
- # cf. http://foswiki.org/Support/ProtectingYourConfiguration for details.
- <FilesMatch "^(configure)$">
- SetHandler cgi-script
- Order Deny,Allow
- Deny from all
- Allow from localhost
- Satisfy All
- ErrorDocument 401 default
- </FilesMatch>
- </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement