Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: wade guidry
RE: Proxy_URL settings for databases module not w [ reply ]  
2009-07-24 20:18
Thanks, Kim. That worked.

By: Admin Admin
RE: Proxy_URL settings for databases module not w [ reply ]  
2009-07-24 18:36
You only need to set it in environment.rb and you will need to restart the server.

But I see that my OSU stuff snuck into the open source stuff and osu proxy is indeed hardcoded into the view. Do the following:

Edit app/shared/_database_resource_module.rb
Edit line 10
(<a href = "http://proxy.<OSU proxy>/login?url=<%=dod.url%>"><%=dod.title%></a>)

replace with
<a href = "<%=PROXY_URL%><%=dod.url%>"><%=dod.title%></a>

save and test. Let me know if it works.

By: wade guidry
Proxy_URL settings for databases module not w [ reply ]  
2009-07-24 18:23
I have set Proxy_URL in environment.rb to our local proxy server, but I'm still ending up with the oregonstate.edu proxy server in the links as generated with LAC.

I tried setting the Proxy_URL both in environment.rb, and in development.rb.

Is there something I'm missing?