Advertisement
Guest User

Untitled

a guest
Oct 15th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. <Directory "C:/xampp/htdocs/foswiki/bin">
  2. AllowOverride None
  3. Order Allow,Deny
  4. Allow from all
  5. Deny from env=blockAccess
  6.  
  7. Options +ExecCGI +FollowSymLinks
  8. SetHandler cgi-script
  9.  
  10. # Password file for Foswiki users
  11. AuthUserFile "C:/xampp/htdocs/foswiki/data/.htpasswd"
  12. 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.'
  13. AuthType Basic
  14.  
  15. # File to return on access control error (e.g. wrong password)
  16. ErrorDocument 401 /foswiki/System/UserRegistration
  17.  
  18. # Limit access to configure to specific IP address(es) and user(s).
  19. # Make sure configure is not open to the general public.
  20. # It exposes system details that can help attackers.
  21. # cf. http://foswiki.org/Support/ProtectingYourConfiguration for details.
  22. <FilesMatch "^(configure)$">
  23. SetHandler cgi-script
  24. Order Deny,Allow
  25. Deny from all
  26. Allow from localhost
  27.  
  28. Satisfy All
  29. ErrorDocument 401 default
  30. </FilesMatch>
  31.  
  32. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement