Advertisement
Guest User

Untitled

a guest
Nov 25th, 2011
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. # cat /etc/httpd/conf.d/toolshed.conf
  2.  
  3. RewriteEngine on
  4. RewriteRule ^/toolshed$ /toolshed/ [R]
  5. RewriteRule ^/toolshed/static/style/(.*) /home/galaxy/galaxy-dev/static/june_2007_style/blue/$1 [L]
  6. RewriteRule ^/toolshed/static/(.*) /home/galaxy/galaxy-dev/static/$1 [L]
  7. RewriteRule ^/toolshed/images/(.*) /home/galaxy/galaxy-dev/static/images/$1 [L]
  8. RewriteRule ^/toolshed/upload/(.*) /home/galaxy/galaxy-dev/static/automated_upload/$1 [L]
  9. RewriteRule ^/toolshed/favicon.ico /home/galaxy/galaxy-dev/static/favicon.ico [L]
  10. RewriteRule ^/toolshed/robots.txt /home/galaxy/galaxy-dev/static/robots.txt [L]
  11. RewriteRule ^/toolshed(.*) http://localhost:9009$1 [P]
  12.  
  13. <Location /toolshed>
  14. AuthName "Local Tool Shed"
  15. AuthType Basic
  16. AuthBasicProvider ldap
  17. AuthLDAPURL "ldap://<ldap address>"
  18. AuthzLDAPAuthoritative off
  19. Require valid-user
  20. </Location>
  21.  
  22. RequestHeader set REMOTE_USER %{AUTHENTICATE_uid}e
  23.  
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement