Jim Alateras wrote:
I am using avalon-http v1.3 with merlin v3.2.4 and I cannot find
information on configuring the base directory for serving static html
documents. Can anyone point me to some documentation/source code (I am
using Jetty web server).

Jim,


Here's a snippet from one of my block.xml's that define both a context for static HTML and a context for a web application.

<!-- My Jetty-Phoenix session manager sub-class -->
<component name="my-session-manager"
           class="com.exm.jettyphoenix.MySessionManagerImpl"/>

<!-- Jetty-Phoenix block wrapper -->
<component name="my-web-server"
           class="org.apache.avalon.merlin.http.JettyWebServer">
   <configuration>
      <Listener port="8196" type="socket"/>
      <Context name="www" path="/"/>
      <WebContext name="logon" path="/logon/logon.war"/>
   </configuration>
</component>

Regards,
Timothy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to