dmreagan / collectome

https://collectome.rt.iu.edu/
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Problem with links on Jetstream #40

Open dmreagan opened 5 years ago

dmreagan commented 5 years ago

The links in the top menu are broken when served from Jetstream. For instance, the search link points to http://129.114.104.82/exhibits​ instead of http://129.114.104.82/collectome/frontend/exhibits. However, the search results links to individual collection pages are correct. I'm not sure what's going on there, but it worked OK on my dev server.

See https://github.com/dmreagan/collectome/blob/fbb97c9260eb29e0aef9ff20d8e4847f87645635/frontend/index-header/index-header.template.html#L12 and https://github.com/dmreagan/collectome/blob/fbb97c9260eb29e0aef9ff20d8e4847f87645635/frontend/exhibit-list/exhibit-list.template.html#L140

@guangchen thinks it is an .htaccess issue, but had to make some html changes as well.

We need to figure out why the page behaves differently when served from httpd than from our browser-sync dev server.

Also, can we put the .htaccess files in the Git repo?

dmreagan commented 5 years ago

This appears to be working OK now. Is it actually resolved, or are we hard-coding things on the server to make it work? @guangchen @echism