Advertisement
Guest User

Untitled

a guest
Apr 13th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1.  
  2.  
  3. ScriptAlias /foswiki/bin/ "e:/Foswiki/Foswiki/bin/"
  4. Alias /foswiki/ "e:/Foswiki/Foswiki/"
  5.  
  6. #rewrite url's for some of the less useful Foswiki url's
  7. RewriteEngine on
  8. RewriteRule ^/foswiki$ /foswiki/bin/view [R]
  9. RewriteRule ^/foswiki/$ /foswiki/bin/view [R]
  10.  
  11. <Directory "e:/Foswiki/Foswiki/bin/">
  12. AllowOverride All
  13. Options ExecCGI
  14. SetHandler cgi-script
  15. Allow From All
  16.  
  17. # Password file for configure users (windows apache uses crypt, foswiki is using md5 for portability)
  18. AuthUserFile "e:/Foswiki/Foswiki/configure.htpasswd"
  19. 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.'
  20. AuthType Basic
  21. <FilesMatch "^configure.*">
  22. SetHandler cgi-script
  23. Require user admin
  24. </FilesMatch>
  25. </Directory>
  26.  
  27. <Directory "e:/Foswiki/Foswiki/pub/">
  28. AllowOverride All
  29. Allow From All
  30. #for TWikiCompatibility - or even to make 'attachment not found's more user friendly
  31. ErrorDocument 404 /foswiki/bin/viewfile
  32. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement