8A. How to Start/Stop Lycia Web Server
8B. Configure listener.xml for Custom AppServer Instances
8C. Configure the public.xml (for Public Client-Side Resources)
Purpose: listener.xml defines and configures application server instances. Custom instances disable the default ones.
Location (default): /opt/Querix/Lycia/etc/listener.xml.
Steps to create listener.xml:
Step 1. Stop Lycia Web Server.
Step 2. Create a new file named listener.xml in the $LYCIADIR/etc folder.
Step 3. Copy the template structure into the file.
Step 4. Change the template to define your custom application server instance.
Step 5. Start Lycia Web Server.
Key Tags:
Default: /opt/Querix/Lycia/progs
Default: /opt/Querix/Lycia/logs
Default: /opt/Querix/Lycia/etc/inet.env
Default for 'default' instance: none; for 'secure' instance: full.
For Linux: modauthcrypt.so, modauthshadow.so, or modauthpam.so.
Reference: For more on listener.xml, refer to the listener.xml page of our docs.
Purpose: This file specifies the location for public client-side resources viewable by anyone with the link.
Location: /opt/Querix/Lycia/jetty/webapps/
Steps to create public.xml:
Step 1. Stop Lycia Web Server.
Step 2. Copy the template structure (see example below) into a new file named public.xml.
Step 3. Specify the contextPath (URL prefix) and resourceBase (physical folder or URL).
Step 4. Start Lycia Web Server.
Template Structure:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.server.handler.ContextHandler">
<Set name="contextPath">/public</Set>
<Set name="handler">
<New class="org.eclipse.jetty.server.handler.ResourceHandler">
<Set name="baseResourceAsString">/opt/Querix/Lycia/progs/public</Set>
<Set name="dirAllowed">true</Set>
</New>
</Set>
</Configure>
Reference: For more on public.xml, refer to the public.xml page and Client-Side Resources pages of our documentation.