By default eXist expects all to find all the web apps in $EXIST/webapps. You can change the location by
- symlinking
$APP_PATH
to$EXIST/webapps/$app
, or - configuring a
<root pattern="appname" path="$APP_PATH" />
incontroller-conf.xml
$EXIST/tools/jetty/etc/webdefault.xml
, configure aliases in this ridiculously verbose bit of XML:
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
<init-param>
<param-name>aliases</param-name>
<param-value>true</param-value>
</init-param>
For older versions of Jetty (versions 7 and earlier, I guess): In $EXIST/tools/jetty/etc/jetty.xml
<Set class="org.mortbay.util.FileResource" name="checkAliases" type="boolean">false</Set>
- Log in to post comments