Advertisement
Guest User

Untitled

a guest
Nov 25th, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. # cat /etc/httpd/conf.d/galaxy-dev.conf
  2.  
  3. RewriteEngine on
  4. RewriteRule ^/galaxy-dev$ /galaxy-dev/ [R]
  5. RewriteRule ^/galaxy-dev/static/style/(.*) /home/galaxy/galaxy-dev/static/june_2007_style/blue/$1 [L]
  6. RewriteRule ^/galaxy-dev/static/(.*) /home/galaxy/galaxy-dev/static/$1 [L]
  7. RewriteRule ^/galaxy-dev/images/(.*) /home/galaxy/galaxy-dev/static/images/$1 [L]
  8. RewriteRule ^/galaxy-dev/upload/(.*) /home/galaxy/galaxy-dev/static/automated_upload/$1 [L]
  9. RewriteRule ^/galaxy-dev/favicon.ico /home/galaxy/galaxy-dev/static/favicon.ico [L]
  10. RewriteRule ^/galaxy-dev/robots.txt /home/galaxy/galaxy-dev/static/robots.txt [L]
  11. RewriteRule ^/galaxy-dev(.*) http://localhost:8080$1 [P]
  12.  
  13. <Location /galaxy-dev>
  14. AuthName "Galaxy (development)"
  15. AuthType Basic
  16. AuthBasicProvider ldap
  17. AuthLDAPURL "ldap://<ldap address>"
  18. AuthzLDAPAuthoritative off
  19. Require valid-user
  20. </Location>
  21. <Location /galaxy-dev/api>
  22. AuthName "Galaxy (API)"
  23. AuthType Basic
  24. AuthBasicProvider ldap
  25. AuthLDAPURL "ldap://<ldap address>"
  26. AuthzLDAPAuthoritative off
  27. Satisfy any
  28. Allow from all
  29. </Location>
  30.  
  31. <Directory /home/galaxy/galaxy-dev/static/automated_upload>
  32. AllowOverride Options FileInfo
  33. </Directory>
  34.  
  35. RequestHeader set REMOTE_USER %{AUTHENTICATE_uid}e
  36.  
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement