<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">So I think for a short term solution you can just make sure the ‘local’ plugin is turned on and stick the following into a file called archivesspace/plugins/local/public/views/site/_branding.html.erb<div><br></div><div><div><script></div><div>APP_PATH = “/public/";</div><div></script></div><div><br></div><div><h1></div><div>  <%= image_tag "archivesspace/archivesspace.png", :alt => I18n.t("brand.title") %></div><div></h1></div></div><div><br></div><div><br></div><div><br></div><div>Brian</div><div><br></div><div><br><div><div>On Jul 22, 2015, at 4:57 PM, Steven Majewski <<a href="mailto:sdm7g@virginia.edu">sdm7g@virginia.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Sorry — that size difference may have just been due to me mislabeling one of the files. </div><div class="">The lcnaf route problem is real, though. </div><div class=""><br class=""></div><div class="">— Steve. </div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 22, 2015, at 4:45 PM, Steven Majewski <<a href="mailto:sdm7g@virginia.edu" class="">sdm7g@virginia.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">I also see that running 'rake routes’ on the public app yields a much smaller output </div><div class="">than it did before adding the prefix: </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #692828" class=""><b class="">public$</b></span> rake routes</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">Loading ArchivesSpace configuration file from path: /projects/Archivespace/dcs-archivesspace/common//config/config.rb</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">         search GET /public/search(.:format)                                              search#search</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">advanced_search GET /public/advanced_search(.:format)                                     search#advanced_search</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">           tree GET /public/tree(.:format)                                                records#tree</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id/resources/:id(.:format)                 records#resource</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id/digital_objects/:id(.:format)           records#digital_object</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id/archival_objects/:id(.:format)          records#archival_object</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id/digital_object_components/:id(.:format) records#digital_object_component</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id(.:format)                               search#repository</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id/classifications/:id(.:format)           records#classification</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id/accessions/:id(.:format)                records#accession</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/agents/:id(.:format)                                          records#agent</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">   repositories GET /public/repositories(.:format)                                        search#repository</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/subjects/:id(.:format)                                        search#subject</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">           root     /public(.:format)                                                     site#index</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/agents/people/:id(.:format)                                   :controller#:action</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/agents/software/:id(.:format)                                 :controller#:action</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/agents/families/:id(.:format)                                 :controller#:action</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/agents/corporate_entities/:id(.:format)                       :controller#:action</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                GET /public/repositories/:repo_id/:type/:id/format/:format                public_formats#generate</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Size of previous routes:</div><div class=""><div style="margin: 0px; font-size: 16px; background-color: rgb(255, 238, 219);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #692828" class=""><b class="">archivesspace$</b></span> wc -l  ../*.routes</div><div style="margin: 0px; font-size: 16px; background-color: rgb(255, 238, 219);" class="">     256 ../frontend.routes</div><div style="margin: 0px; font-size: 16px; background-color: rgb(255, 238, 219);" class="">     257 ../public.routes</div><div style="margin: 0px; font-size: 16px; background-color: rgb(255, 238, 219);" class="">     513 total</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">The output of ‘rake routes’ for the frontend admin app is comparable in size, </div><div class="">but it appears to not have added the prefix for the lcnaf plugin:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                                   root          /admin(.:format)                                                          welcome#index</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                          plugins_lcnaf GET      /plugins/lcnaf(.:format)                                                  lcnaf#index</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                   plugins_lcnaf_search GET      /plugins/lcnaf/search(.:format)                                           lcnaf#search</div><div style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);" class="">                   plugins_lcnaf_import POST     /plugins/lcnaf/import(.:format)                                           lcnaf#import</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">And, in fact, selecting that plugin no longer works. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">— Steve. </div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 22, 2015, at 4:27 PM, Steven Majewski <<a href="mailto:sdm7g@virginia.edu" class="">sdm7g@virginia.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="Apple-interchange-newline">On Jul 22, 2015, at 4:24 PM, Brian Hoffman <<a href="mailto:brianjhoffman@gmail.com" class="">brianjhoffman@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Oops, sorry about that. Yes, I see the problem now - the public app isn’t actually set up to look at the prefix value. I can submit a fix for that for the next release. If it’s an urgent issue I can give you instructions for fixing the current release.<div class=""><br class=""></div><div class="">Brian<br class=""><div class=""><br class=""></div><div class=""><div class=""><br class=""></div></div></div></div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Yes — We’re trying to move from a test server to production next week, and we would like</div><div class="">to get rid of the need for port numbers in the URLs as part of that move, so instructions</div><div class="">on how to fix public would be helpful.  </div><div class=""><br class=""></div><div class="">— Steve. </div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><div class=""><br class=""><div class=""><div class="">On Jul 22, 2015, at 4:09 PM, Steven Majewski <<a href="mailto:sdm7g@virginia.edu" class="">sdm7g@virginia.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><br class=""></div><div class="">Adding those lines breaks everything ( whether I use the proxy address or not ).</div><div class=""><br class=""></div><div class="">Before adding those lines to config, the values for those settings were:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);">irb(main):001:0> AppConfig[:frontend_prefix]</div><div class="" style="margin: 0px; font-size: 15px; color: rgb(149, 149, 0); background-color: rgb(255, 206, 182);">"/admin/"</div><div class="" style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);">irb(main):002:0> AppConfig[:public_prefix]</div><div class="" style="margin: 0px; font-size: 15px; color: rgb(149, 149, 0); background-color: rgb(255, 206, 182);">"/public/"</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">which looked correct to me. </div><div class=""><br class=""></div><div class="">After that change they are the whole URL, not just the prefix:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 15px; background-color: rgb(255, 206, 182);">irb(main):001:0> AppConfig[:frontend_prefix]</div><div class="" style="margin: 0px; font-size: 15px; color: rgb(149, 149, 0); background-color: rgb(255, 206, 182);">"<a href="http://d-172-25-72-74.bootp.virginia.edu/admin/" class="">http://d-172-25-72-74.bootp.Virginia.EDU/admin/</a>"</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">( Also: It looks like that first bunch of missing glyphs are coming from Bootstrap javascript</div><div class="">which maybe doesn’t know about the prefix.  ) </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">— Steve Majewski</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 22, 2015, at 3:50 PM, Brian Hoffman <<a href="mailto:brianjhoffman@gmail.com" class="">brianjhoffman@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Steve,<div class=""><br class=""></div><div class="">I think you might be able to resolve that error by adding this to your config.rb:</div><div class=""><br class=""></div><div class="">AppConfig[:frontend_prefix] = proc {"<a href="http:/#{AppConfig[:hostname]}/admin/%E2%80%9C}" class="">http://#{AppConfig[:hostname]}/admin/“}</a><br class="">AppConfig[:public_prefix] = proc {"<a href="http:/#{AppConfig[:hostname]}/public/%E2%80%9D}" class="">http://#{AppConfig[:hostname]}/public/”}</a></div><div class=""><br class=""></div><div class="">There is probably some redundancy in the way the _prefix and _proxy values are used - perhaps they could be combined in a future release.</div><div class=""><br class=""></div><div class="">Brian</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><div class="">On Jul 22, 2015, at 3:39 PM, Steven Majewski <<a href="mailto:sdm7g@virginia.edu" class="">sdm7g@virginia.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite" class=""><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline"><br class=""></div><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite" class=""><div class="">On Jul 22, 2015, at 3:24 PM, Steven Majewski <<a href="mailto:sdm7g@virginia.edu" class="">sdm7g@virginia.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I’m using </div><div class=""><br class=""></div><div class="">config.rb:</div><div class=""><br class=""></div><div class=""><div class="">AppConfig[:hostname] = proc { Socket.gethostname }</div><div class=""># […] </div><div class="">AppConfig[:frontend_url] = "<a href="http://localhost:8088/admin" class="">http://localhost:8088/admin</a>" # 8080 used by tomcat!   </div><div class="">AppConfig[:public_url] = "<a href="http://localhost:8081/public" class="">http://localhost:8081/public</a>"</div><div class="">AppConfig[:frontend_proxy_url] = proc { "<a href="http:/#{AppConfig[:hostname]}/admin" class="">http://#{AppConfig[:hostname]}/admin</a>" }</div><div class="">AppConfig[:public_proxy_url] = proc { "<a href="http:/#{AppConfig[:hostname]}/public" class="">http://#{AppConfig[:hostname]}/public</a>" }</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">apache conf:</div><div class=""><br class=""></div><div class=""><div class="">    ProxyPass /admin    <span class="Apple-converted-space"> </span><a href="http://localhost:8088/admin" class="">http://localhost:8088/admin</a></div><div class="">    ProxyPass /public  <span class="Apple-converted-space"> </span><a href="http://localhost:8081/public" class="">http://localhost:8081/public</a></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Which mostly works. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">On the admin welcome page (after login) I’m missing these assets: </div><div class=""><br class=""></div><div class=""><a href="http://localhost/assets/glyphicons-halflings-regular.woff2" class="">http://localhost/assets/glyphicons-halflings-regular.woff2</a><span class="Apple-converted-space"> </span>Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/icomoon/icomoon.woff?-z7cehr" class="">http://localhost/assets/icomoon/icomoon.woff?-z7cehr</a><span class="Apple-converted-space"> </span>Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/glyphicons-halflings-regular.woff" class="">http://localhost/assets/glyphicons-halflings-regular.woff</a><span class="Apple-converted-space"> </span>Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/icomoon/icomoon.ttf?-z7cehr" class="">http://localhost/assets/icomoon/icomoon.ttf?-z7cehr</a><span class="Apple-converted-space"> </span>Failed to load resource: the server responded with a status of 404 (Not Found)</div><div class=""><a href="http://localhost/assets/glyphicons-halflings-regular.ttf" class="">http://localhost/assets/glyphicons-halflings-regular.ttf</a><span class="Apple-converted-space"> </span>Failed to load resource: the server responded with a status of 404 (Not Found)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">which, I assume is what is causing some glyphs (which I had thought were images) to come up as empty squares.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">And when looking at Collections in the public interface, I get the missing Components </div><div class="">(with a constant 'busy loading’ icon ) that was reported in a previous message by <span class="" style="font-family: Calibri, sans-serif; font-size: 15px;">Reid, Sarah N.</span></div><div class=""><span class="" style="font-family: Calibri, sans-serif; font-size: 15px;"><br class=""></span></div><div class=""><span class="" style="font-family: Calibri, sans-serif; font-size: 15px;"><br class=""></span></div><div class=""><span class="" style="font-family: Calibri, sans-serif; font-size: 15px;">Chrome Console error message is:</span></div><div class=""><span class="" style="font-family: Calibri, sans-serif; font-size: 15px;"><br class=""></span></div><div class=""><font face="Calibri, sans-serif" class=""><span class="" style="font-size: 15px;">GET<span class="Apple-converted-space"> </span><a href="http://d-172-25-72-74.bootp.virginia.edu/publictree?uri=%2Frepositories%2F8%2Fresources%2F12" class="">http://d-172-25-72-74.bootp.virginia.edu/publictree?uri=%2Frepositories%2F8%2Fresources%2F12</a><span class="Apple-converted-space"> </span>404 (Not Found)bH.ajaxTransport.e.send @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.extend.ajax @ application-a05f22ac3ad515fde2728c1832af5791.js:25a.add_children @ application-a05f22ac3ad515fde2728c1832af5791.js:25(anonymous function) @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.extend.each @ application-a05f22ac3ad515fde2728c1832af5791.js:14bH.fn.bH.each @ application-a05f22ac3ad515fde2728c1832af5791.js:14(anonymous function) @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.Callbacks.i @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.Callbacks.cc.fireWith @ application-a05f22ac3ad515fde2728c1832af5791.js:25bH.extend.ready @ application-a05f22ac3ad515fde2728c1832af5791.js:25bY @ application-a05f22ac3ad515fde2728c1832af5791.js:25</span></font></div><div class=""><span class="" style="font-family: Calibri, sans-serif; font-size: 15px;"><br class=""></span></div><div class=""><br class=""></div><div class="">And it I insert a ‘/‘ between ‘public’ and ‘tree’ in that URL above, </div><div class=""><br class=""></div><div class=""><a href="http://d-172-25-72-74.bootp.virginia.edu/public/tree?uri=/repositories/8/resources/12" class="">http://d-172-25-72-74.bootp.virginia.edu/public/tree?uri=%2Frepositories%2F8%2Fresources%2F12</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">and try it in the browser, I get back some JSON that looks like what the AJAX calls are expecting:</div><div class=""><br class=""></div><div class=""><pre class="" style="widows: 1; word-wrap: break-word; white-space: pre-wrap;">{"self":{"title":"Alderman Family Papers","id":12,"node_type":"resource","publish":true,"suppressed":false,"record_uri":"/repositories/8/resources/12","level":"collection","jsonmodel_type":"resource_tree","instance_types":[],"containers":[],"has_children":false},"path_to_root":[],"direct_children":[]}</pre><div class=""><br class=""></div></div><div class="">I just found that a few minutes ago, so I haven’t yet found the source of that bug. </div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I’m thinking it’s here:</div><div class=""><a href="https://github.com/archivesspace/archivesspace/blob/master/public/app/assets/javascripts/record_tree.js#L12" class="">https://github.com/archivesspace/archivesspace/blob/master/public/app/assets/javascripts/record_tree.js#L12</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><table class="js-file-line-container highlight tab-size" data-tab-size="8" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; tab-size: 8; color: rgb(51, 51, 51); font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 13px; line-height: 18px;"><tbody class="" style="box-sizing: border-box;"><tr class="" style="box-sizing: border-box;"></tr><tr class="" style="box-sizing: border-box;"><td id="LC11" class="js-file-line blob-code-inner blob-code" style="box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible; word-wrap: normal;">        $.ajax({</td></tr><tr class="" style="box-sizing: border-box;"><td id="L12" class="blob-num js-line-number" data-line-number="12" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; white-space: nowrap; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; vertical-align: top; text-align: right; border-style: solid; border-color: rgb(238, 238, 238); border-width: 0px 1px 0px 0px; cursor: pointer; -webkit-user-select: none;"></td><td id="LC12" class="js-file-line blob-code-inner blob-code" style="box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible; word-wrap: normal; background-color: rgb(248, 238, 199);">            url<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">:</span> <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179);">APP_PATH</span> <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">+</span> <span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145);"><span class="pl-pds" style="box-sizing: border-box;">"</span>tree<span class="pl-pds" style="box-sizing: border-box;">"</span></span>,</td></tr><tr class="" style="box-sizing: border-box;"><td id="L13" class="blob-num js-line-number" data-line-number="13" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; white-space: nowrap; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; vertical-align: top; text-align: right; border-style: solid; border-color: rgb(238, 238, 238); border-width: 0px 1px 0px 0px; cursor: pointer; -webkit-user-select: none;"></td></tr></tbody></table><br class=""></div><div class=""><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">— Steve Majewski</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 22, 2015, at 2:27 PM, David Hietpas <<a href="mailto:hietpasd@uwosh.edu" class="">hietpasd@uwosh.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Thanks Chris.  I saw the version number and assumed it would work from 1.0.2 and up.<br class=""><br class=""></div>I tried what you suggested yesterday without success.  I've attached a screenshot with what is happening with my config information with the setup you suggested.<br class=""><br class=""></div>config.rb:<br class="">AppConfig[:backend_url] = "<a href="http://localhost:8092/" class="">http://localhost:8092</a>"<br class="">AppConfig[:frontend_url] = "<a href="http://localhost:8090/" class="">http://localhost:8090</a>"<br class="">AppConfig[:solr_url] = "<a href="http://localhost:8093/" class="">http://localhost:8093</a>"<br class="">AppConfig[:public_url] = "<a href="http://localhost:8091/" class="">http://localhost:8091</a>"<br class=""><br class="">AppConfig[:frontend_proxy_url] = "<a href="http://localhost/archivesspace/frontend" class="">http://localhost/archivesspace/frontend</a>"<br class="">AppConfig[:public_proxy_url] = "<a href="http://localhost/archivesspace/public" class="">http://localhost/archivesspace/public</a>"<br class=""><br class=""><div class=""><br class="">Apache:<br class="">    RewriteRule ^/archivesspace/frontend$<span class="Apple-converted-space"> </span><a href="http://localhost:8090/" class="">http://localhost:8090/</a><span class="Apple-converted-space"> </span>[L,P]<br class="">    RewriteRule ^/archivesspace/frontend/(.*)$<span class="Apple-converted-space"> </span><a href="http://localhost:8090/$1" class="">http://localhost:8090/$1</a><span class="Apple-converted-space"> </span>[L,P]<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><div class=""><br class=""></div></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jul 22, 2015 at 12:06 PM, Chris Fitzpatrick<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:Chris.Fitzpatrick@lyrasis.org" target="_blank" class="">Chris.Fitzpatrick@lyrasis.org</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div dir="ltr" class=""><div class="" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><p class=""><br class=""></p><p class=""><br class=""></p><p class="">Hi David,</p><p class=""><br class=""></p><p class="">Wow, this documentation is extremely outdated ( from v1.0.2 ). </p><p class=""><br class=""></p><p class="">I'll update this. </p><p class=""><br class=""></p><p class="">But the new way for adding this is to use the proxy_url settings in the config.rb file: </p><p class=""><a title="Cmd+Click or tap to follow the link" href="https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L156-L157" target="_blank" class="">https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L156-L157</a></p><p class=""><br class=""></p><p class="">Change your url that you're proxying here, like </p><p class="">AppConfig[:<span class="">public_proxy_url] = "<a href="http://my.aspace.edu/public" target="_blank" class="">http://my.aspace.edu/public</a>"</span></p><p class="">AppConfig[:<span class="">frontend_proxy_url</span><span class="">] = "<a href="http://my.aspace.edu/staff" target="_blank" class="">http://my.aspace.edu/staff</a>"</span></p><div class=""><span class=""></span><br class="webkit-block-placeholder"></div><p class=""><br class=""></p><p class=""><br class=""></p><p class="">Does that make sense? No need to compile from source for this...</p><p class="">b,chris.<span class="Apple-converted-space"> </span><br class=""></p><p class=""><br class=""></p><div class=""><div name="divtagdefaultwrapper" class=""><div class=""><font size="2" class="">Chris Fitzpatrick | Developer, ArchivesSpace<br class="">Skype: chrisfitzpat  | Phone: 918.236.6048<br class=""><a href="http://archivesspace.org/" target="_blank" class="">http://archivesspace.org/</a><br class=""></font></div></div></div><br class=""><br class=""><div class=""><hr class="" style="display: inline-block; width: 528px;"><div dir="ltr" class=""><font face="Calibri, sans-serif" class="" style="font-size: 11pt;"><b class="">From:</b><span class="Apple-converted-space"> </span><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><span class="Apple-converted-space"> </span><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of David Hietpas <<a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, July 22, 2015 6:34 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Archivesspace Users Group<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Archivesspace_Users_Group] Mysql connector issues with a source build</font><div class=""> </div></div><div class=""><div class="h5"><div class=""><div dir="ltr" class="">Hi Brian,<br class=""><div class=""><br class="">As I mentioned in the original email, I'm following the instructions posted from ArchivesSpace Github to setup a installation with prefixes (<a href="https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md" target="_blank" class="">https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md</a>).  I have to use prefixes at our institute, I can't use sub-domains due to policies.<br class=""></div><div class=""><br class=""></div><div class="">When I start with the original zip file, I don't run into this problem and the app starts up fine.  However, I'm plagued with url issues (css, js, assets, etc...) from the app when setting up the application with prefixes through Apache.<br class=""><br class=""></div><div class="">Thanks.<br class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jul 22, 2015 at 11:24 AM, Brian Hoffman<span dir="ltr" class=""><<a href="mailto:brianjhoffman@gmail.com" target="_blank" class="">brianjhoffman@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div class="" style="word-wrap: break-word;">Hi David,<div class=""><br class=""></div><div class="">Why are you building the application from source rather than just downloading the zip and starting there? Can you confirm that you have the same problem when you start from the ZIP file?</div><div class=""><br class=""></div><div class="">Brian</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><div class=""><div class=""><div class="">On Jul 22, 2015, at 11:07 AM, David Hietpas <<a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a>> wrote:</div><br class=""></div></div><blockquote type="cite" class=""><div class=""><div class=""><div dir="ltr" class=""><div class="">Due to Archon migrations, I installed Aspace v1.0.4 (<a href="https://github.com/archivesspace/archivesspace/releases/tag/v1.0.4" target="_blank" class="">https://github.com/archivesspace/archivesspace/releases/tag/v1.0.4</a>) without issue but our University will not allow sub-domains so I have to use the Prefix method explained here (<a href="https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md" target="_blank" class="">https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md</a>)<br class=""><br class=""></div>So I reinstalled using the 1.0.4 from the source code adding the config/config.rb with the proper prefixes just as instructed.  I ran "build/run dist".  Unzipped the compiled code.  I put the mysql-connector-java.jar in the archivesspace/lib directory like I had in the working version above.  I've attached a screenshot.<br class=""><div class=""><div class=""><br class=""></div><div class="">It can't find the mysql-connector-java though it is in the lib directory of Archivesspace.  I've drop the exact version 5.1.13 as well as the newest.  It works perfectly fine in the non-source version but not the source build version.<br class=""></div><div class=""><br class="">Error:<span class="Apple-converted-space"> </span><a href="http://pastebin.com/FQVJEjEi" target="_blank" class="">http://pastebin.com/FQVJEjEi</a><br class=""><br class=""></div><div class="">Please advise.  Thanks.<br clear="all" class=""></div><div class=""><br class="">--<span class="Apple-converted-space"> </span><br class=""><div class=""><div dir="ltr" class=""><font face="'PrimaSans BT,Verdana,sans-serif'" class="">David Hietpas<br class="">University of Wisconsin Oshkosh<br class=""><a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a><span class="Apple-converted-space"> </span>| 920-424-0291</font></div></div></div></div></div></div></div><span class=""><lib-jar-example.jpg></span>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></blockquote></div><br class=""></div></div><br class="">_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""><br class=""></blockquote></div><br class=""><br clear="all" class=""><br class="">--<span class="Apple-converted-space"> </span><br class=""><div class=""><div dir="ltr" class=""><font face="'PrimaSans BT,Verdana,sans-serif'" class="">David Hietpas<br class="">University of Wisconsin Oshkosh<br class=""><a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a><span class="Apple-converted-space"> </span>| 920-424-0291</font></div></div></div></div></div></div></div></div></div><br class="">_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""><br class=""></blockquote></div><br class=""><br clear="all" class=""><br class="">--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature"><div dir="ltr" class=""><font face="'PrimaSans BT,Verdana,sans-serif'" class="">David Hietpas<br class="">University of Wisconsin Oshkosh<br class=""><a href="mailto:hietpasd@uwosh.edu" target="_blank" class="">hietpasd@uwosh.edu</a><span class="Apple-converted-space"> </span>| 920-424-0291</font></div></div></div><span id="cid:73B30F30-280B-4C2B-B106-861BE08D923C@Virginia.EDU" class=""><example.jpg></span>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></div></blockquote></div><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">_______________________________________________</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Archivesspace_Users_Group mailing list</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></blockquote></div><br class=""></div></div>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></blockquote></div><br class=""></div></div></div></div>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></div></blockquote></div><br class="" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Archivesspace_Users_Group mailing list</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div></blockquote></div><br class=""></div>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br>Archivesspace_Users_Group mailing list<br><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br></blockquote></div><br></div></body></html>