- 
                Notifications
    
You must be signed in to change notification settings  - Fork 297
 
Deploying OpenWayback in non ROOT Context
        Helen Hockx-Yu edited this page Jul 25, 2014 
        ·
        9 revisions
      
    OpenWayback by default assumes deployment as ROOT context (ROOT.war) with an AccessPoint called wayback. The default URL for accessing OpenWayback is: http://localhost:8080/wayback/.
OpenWayback can also be installed in a non-ROOT context (e.g. mycontext). wayback.xml need to be configured to reflect. The default AccessPoint URL AccessPoint is http://localhost:8080/mycontext/wayback/.
Edit wayback.xml as follows to change the wayback.urlprefix:
wayback.basedir=/tmp/wayback wayback.urlprefix=http://localhost:8080/mycontext/and for the AccessPoint:
<!--
  These properties enable customized handling of query, replay, and static
  requests by different URL prefixes
-->
<property name="replayPrefix" value="${wayback.urlprefix}wayback/" />
<property name="queryPrefix" value="${wayback.urlprefix}wayback/" />
<property name="staticPrefix" value="${wayback.urlprefix}wayback/" />
...
<property name="uriConverter">
  <bean class="org.archive.wayback.archivalurl.ArchivalUrlResultURIConverter">
    <property name="replayURIPrefix" value="${wayback.urlprefix}wayback/"/>
  </bean>
</property>
...
Restart Tomcat.
Copyright © 2005-2022 [tonazol](http://netpreserve.org/). CC-BY. https://github.com/iipc/openwayback.wiki.git