<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;">I think you still need to fill out the _prefix params. Also, you should probably use ProxyPass and ProxyPassReverse rather than mod_rewrite: <a href="http://httpd.apache.org/docs/2.4/rewrite/avoid.html">http://httpd.apache.org/docs/2.4/rewrite/avoid.html</a><div><br></div><div>If you open up a Javascript console in the frontend application, and type APP_PATH, you should see “/frontend/“</div><div><br></div><div>Brian</div><div><br></div><div><br><div><div>On Jul 23, 2015, at 8:39 AM, David Hietpas <<a href="mailto:hietpasd@uwosh.edu">hietpasd@uwosh.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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 dir="ltr">Also I should note, all the hrefs and forms are not picking up the prefix either.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 22, 2015 at 1:27 PM, David Hietpas<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:hietpasd@uwosh.edu" target="_blank">hietpasd@uwosh.edu</a>></span><span class="Apple-converted-space"> </span>wrote:<br><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"><div><div>Thanks Chris. I saw the version number and assumed it would work from 1.0.2 and up.<br><br></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><br></div>config.rb:<br>AppConfig[:backend_url] = "<a href="http://localhost:8092/" target="_blank">http://localhost:8092</a>"<br>AppConfig[:frontend_url] = "<a href="http://localhost:8090/" target="_blank">http://localhost:8090</a>"<br>AppConfig[:solr_url] = "<a href="http://localhost:8093/" target="_blank">http://localhost:8093</a>"<br>AppConfig[:public_url] = "<a href="http://localhost:8091/" target="_blank">http://localhost:8091</a>"<br><br>AppConfig[:frontend_proxy_url] = "<a href="http://localhost/archivesspace/frontend" target="_blank">http://localhost/archivesspace/frontend</a>"<br>AppConfig[:public_proxy_url] = "<a href="http://localhost/archivesspace/public" target="_blank">http://localhost/archivesspace/public</a>"<br><br><div><br>Apache:<br> <span class="Apple-converted-space"> </span>RewriteRule ^/archivesspace/frontend$<span class="Apple-converted-space"> </span><a href="http://localhost:8090/" target="_blank">http://localhost:8090/</a><span class="Apple-converted-space"> </span>[L,P]<br> <span class="Apple-converted-space"> </span>RewriteRule ^/archivesspace/frontend/(.*)$<span class="Apple-converted-space"> </span><a href="http://localhost:8090/$1" target="_blank">http://localhost:8090/$1</a><span class="Apple-converted-space"> </span>[L,P]<br><br><br><br><br><br><br><br><br><br><br><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 22, 2015 at 12:06 PM, Chris Fitzpatrick<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:Chris.Fitzpatrick@lyrasis.org" target="_blank">Chris.Fitzpatrick@lyrasis.org</a>></span><span class="Apple-converted-space"> </span>wrote:<br><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"><div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;"><p><br></p><p><br></p><p>Hi David,</p><p><br></p><p>Wow, this documentation is extremely outdated ( from v1.0.2 ). </p><p><br></p><p>I'll update this. </p><p><br></p><p>But the new way for adding this is to use the proxy_url settings in the config.rb file: </p><p><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">https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L156-L157</a></p><p><br></p><p>Change your url that you're proxying here, like </p><p>AppConfig[:<span>public_proxy_url] = "<a href="http://my.aspace.edu/public" target="_blank">http://my.aspace.edu/public</a>"</span></p><p>AppConfig[:<span>frontend_proxy_url</span><span>] = "<a href="http://my.aspace.edu/staff" target="_blank">http://my.aspace.edu/staff</a>"</span></p><div><span></span><br class="webkit-block-placeholder"></div><p><br></p><p><br></p><p>Does that make sense? No need to compile from source for this...</p><p>b,chris.<span class="Apple-converted-space"> </span><br></p><p><br></p><div><div name="divtagdefaultwrapper"><font size="2">Chris Fitzpatrick | Developer, ArchivesSpace<br>Skype: chrisfitzpat | Phone: 918.236.6048<br><a href="http://archivesspace.org/" target="_blank">http://archivesspace.org/</a><br></font></div></div><br><br><div style=""><hr style="display: inline-block; width: 536px;"><div dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt;"><b>From:</b><span class="Apple-converted-space"> </span><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of David Hietpas <<a href="mailto:hietpasd@uwosh.edu" target="_blank">hietpasd@uwosh.edu</a>><br><b>Sent:</b><span class="Apple-converted-space"> </span>Wednesday, July 22, 2015 6:34 PM<br><b>To:</b><span class="Apple-converted-space"> </span>Archivesspace Users Group<br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [Archivesspace_Users_Group] Mysql connector issues with a source build</font><div> </div></div><div><div dir="ltr">Hi Brian,<br><div><br>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">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></div><div><br></div><div>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><br></div><div>Thanks.<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 22, 2015 at 11:24 AM, Brian Hoffman<span dir="ltr"><<a href="mailto:brianjhoffman@gmail.com" target="_blank">brianjhoffman@gmail.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br><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 style="word-wrap: break-word;">Hi David,<div><br></div><div>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><br></div><div>Brian</div><div><br></div><div><br><div><div><div>On Jul 22, 2015, at 11:07 AM, David Hietpas <<a href="mailto:hietpasd@uwosh.edu" target="_blank">hietpasd@uwosh.edu</a>> wrote:</div><br></div><blockquote type="cite"><div><div dir="ltr"><div>Due to Archon migrations, I installed Aspace v1.0.4 (<a href="https://github.com/archivesspace/archivesspace/releases/tag/v1.0.4" target="_blank">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">https://github.com/archivesspace/archivesspace/blob/master/README_PREFIX.md</a>)<br><br></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><div><div><br></div><div>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></div><div><br>Error:<span class="Apple-converted-space"> </span><a href="http://pastebin.com/FQVJEjEi" target="_blank">http://pastebin.com/FQVJEjEi</a><br><br></div><div>Please advise. Thanks.<br clear="all"></div><div><br>--<span class="Apple-converted-space"> </span><br><div><div dir="ltr"><font face="'PrimaSans BT,Verdana,sans-serif'">David Hietpas<br>University of Wisconsin Oshkosh<br><a href="mailto:hietpasd@uwosh.edu" target="_blank">hietpasd@uwosh.edu</a><span class="Apple-converted-space"> </span>| 920-424-0291</font></div></div></div></div></div></div><span><lib-jar-example.jpg></span>_______________________________________________<br>Archivesspace_Users_Group mailing list<br><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br></blockquote></div><br></div></div><br>_______________________________________________<br>Archivesspace_Users_Group mailing list<br><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br><br></blockquote></div><br><br clear="all"><br>--<span class="Apple-converted-space"> </span><br><div><div dir="ltr"><font face="'PrimaSans BT,Verdana,sans-serif'">David Hietpas<br>University of Wisconsin Oshkosh<br><a href="mailto:hietpasd@uwosh.edu" target="_blank">hietpasd@uwosh.edu</a><span class="Apple-converted-space"> </span>| 920-424-0291</font></div></div></div></div></div></div></div><br>_______________________________________________<br>Archivesspace_Users_Group mailing list<br><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br><br></blockquote></div><br><br clear="all"><br>--<span class="Apple-converted-space"> </span><br><div><div dir="ltr"><font face="'PrimaSans BT,Verdana,sans-serif'">David Hietpas<br>University of Wisconsin Oshkosh<br><a href="mailto:hietpasd@uwosh.edu" target="_blank">hietpasd@uwosh.edu</a><span class="Apple-converted-space"> </span>| 920-424-0291</font></div></div></div></div></div></blockquote></div><br><br clear="all"><br>--<span class="Apple-converted-space"> </span><br><div class="gmail_signature"><div dir="ltr"><font face="'PrimaSans BT,Verdana,sans-serif'">David Hietpas<br>University of Wisconsin Oshkosh<br><a href="mailto:hietpasd@uwosh.edu" target="_blank">hietpasd@uwosh.edu</a><span class="Apple-converted-space"> </span>| 920-424-0291</font></div></div></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><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div></blockquote></div><br></div></body></html>