Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat /etc/httpd/conf.d/toolshed.conf
- RewriteEngine on
- RewriteRule ^/toolshed$ /toolshed/ [R]
- RewriteRule ^/toolshed/static/style/(.*) /home/galaxy/galaxy-dev/static/june_2007_style/blue/$1 [L]
- RewriteRule ^/toolshed/static/(.*) /home/galaxy/galaxy-dev/static/$1 [L]
- RewriteRule ^/toolshed/images/(.*) /home/galaxy/galaxy-dev/static/images/$1 [L]
- RewriteRule ^/toolshed/upload/(.*) /home/galaxy/galaxy-dev/static/automated_upload/$1 [L]
- RewriteRule ^/toolshed/favicon.ico /home/galaxy/galaxy-dev/static/favicon.ico [L]
- RewriteRule ^/toolshed/robots.txt /home/galaxy/galaxy-dev/static/robots.txt [L]
- RewriteRule ^/toolshed(.*) http://localhost:9009$1 [P]
- <Location /toolshed>
- AuthName "Local Tool Shed"
- AuthType Basic
- AuthBasicProvider ldap
- AuthLDAPURL "ldap://<ldap address>"
- AuthzLDAPAuthoritative off
- Require valid-user
- </Location>
- RequestHeader set REMOTE_USER %{AUTHENTICATE_uid}e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement