relative URLs / contextPath in wikis

LabKey Support Forum (Inactive)
relative URLs / contextPath in wikis Ben Bimber  2011-03-22 11:12
Status: Closed
 
hi josh,

i would be interested in the redirection webapp.

our old server had /labkey as the context path. that was a constant pain when trying to make relative URLs. the new server is going to run labkey as the root webapp, which will make relative URLs much easier. i think your example only really works when the contextPath is null (like your example). if the baseUrl of labkey.org was: https://www.labkey.org/labkey/ then making relative URLs is problematic.

i just through I would check on the wiki syntax. I'm going to be asking some of our wiki authors to check their pages for links. It sounds like they wont actually be able to make changes until we migrate to the new server though.