You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Timothy Bennett <ex...@comcast.net> on 2003/12/02 00:57:42 UTC
Re: [merlin] avalon-http + context
Stephen McConnell wrote:
>
> That was the source file - could you post the patch instead?
>
Mea Culpa. I'm learning....
Here's the *real* patch.
Re: [merlin] avalon-http, configuring base directory
Posted by Timothy Bennett <ex...@comcast.net>.
Jim Alateras wrote:
>
>><!-- 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="/"/>
>
> Is this path relative or absolute?
>
>
I believe this path is relative to the component's base directory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
RE: [merlin] avalon-http, configuring base directory
Posted by Jim Alateras <ji...@comware.com.au>.
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Timothy Bennett
> Sent: Sunday, February 29, 2004 10:24 AM
> To: dev@avalon.apache.org
> Subject: Re: [merlin] avalon-http, configuring base directory
>
> 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="/"/>
Is this path relative or absolute?
cheers
</jima>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [merlin] avalon-http, configuring base directory
Posted by Timothy Bennett <ex...@comcast.net>.
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: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: [merlin] avalon-http + context
Posted by Stephen McConnell <mc...@apache.org>.
Timothy Bennett wrote:
> Stephen McConnell wrote:
>
>>
>> That was the source file - could you post the patch instead?
>>
>
> Mea Culpa. I'm learning....
>
> Here's the *real* patch.
Applied - Thanks.
Steve.
--
Stephen J. McConnell
mailto:mcconnell@apache.org
|------------------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org/merlin |
| http://dpml.net/ |
|------------------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
[merlin] avalon-http, configuring base directory
Posted by Jim Alateras <ji...@comware.com.au>.
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).
cheers
</jima>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org