[Archivesspace_Users_Group] Prefix works only part of the time.
Blake Carver
blake.carver at lyrasis.org
Mon Aug 5 09:27:58 EDT 2019
Which version is that you have running there?
And which page is that source code from?
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Kimberli Kelmor <kk1210 at georgetown.edu>
Sent: Monday, August 5, 2019 9:10 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Prefix works only part of the time.
AppConfig[:frontend_proxy_url] = 'http://aspace.ll.georgetown.edu/staff'
AppConfig[:public_proxy_url] = 'http://aspace.ll.georgetown.edu/public'
On Mon, Aug 5, 2019 at 9:08 AM Blake Carver <blake.carver at lyrasis.org<mailto:blake.carver at lyrasis.org>> wrote:
What's in your config file for frontend_proxy_url and public_proxy_url
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Kimberli Kelmor <kk1210 at georgetown.edu<mailto:kk1210 at georgetown.edu>>
Sent: Monday, August 5, 2019 8:13 AM
To: archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org> <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Prefix works only part of the time.
I'm still having the same problem. I've ruled out any problem with Apache or the proxy redirection going on at that level.
In a given page, the prefix is being properly applied in one area, and not applied at all in another.
A bit of source code should show the problem:
<div class="collapse navbar-collapse" id="collapsemenu">
<ul class="nav nav navbar-nav">
<li><a href="/public/repositories">Repositories</a></li>
<li><a href="/public/repositories/resources">Collections</a></li>
<li><a href="/public/objects?limit=digital_object">Digital Materials</a></li>
<li><a href="/public/accessions">Unprocessed Material</a></li>
<li><a href="/public/subjects">Subjects</a></li>
<li><a href="/public/agents">Names</a></li>
<li><a href="/public/classifications">Record Groups</a></li>
<li><a href="/public/search?reset=true" title="Search Special Collections">
<span class="fa fa-search" aria-hidden="true"></span>
<span class="sr-only">Search Special Collections</span>
</a>
</li>
</ul>
</div>
</div>
</nav>
</section>
</div>
<section id="content" class="container-fluid">
<a name="maincontent" id="maincontent"></a>
<div class="row">
<div class="col-sm-9">
<h2>4 Repositories</h2>
<div class="recordrow">
<h2>
<a class="record-title" href="/repositories/4">Law Center Archives
</a>
So within the nav bar the prefix is being attached, but within the body the prefix is not being attached.
Where is the code that builds these pages - I've never worked with Ruby, but I think the problem lies there.
Many thanks for your help!
--
Kimberli M. Kelmor
Head of Law Library Technology
Georgetown University Law Library
kk1210 at georgetown.edu<mailto:kk1210 at georgetown.edu>
202-662-9158
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
--
Kimberli M. Kelmor
Head of Law Library Technology
Georgetown University Law Library
kk1210 at georgetown.edu<mailto:kk1210 at georgetown.edu>
202-662-9158
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20190805/5b418b75/attachment.html>
More information about the Archivesspace_Users_Group
mailing list