Manuel,
I don't do exactly what your trying but we do use virtual hosts.
To do that I have to edit the tomcat/conf/server.xml
Here is an example snippet of what I use in conjunction with virtual
host set up in apache.
<Host name="www.domain.com" appBase="/www/sites/domain.com"
deployOnStartup="true" autoDeploy="false" deployIgnore=".*">
<Alias>domain.com</Alias>
<Context path="" docBase="/www/sites/domain.com/" useHttpOnly="true"
allowLinking="true" />
</Host>
Perhaps some permutation of the above will help you accomplish
what your looking to do. I'm almost certain that the context path/docbase
may be what you want.
Of course, as I said above, I'm not doing what you are trying to do so
there may be an easier or more appropriate way.
Hope that helps,
Alan Cole
(PGP Key ID: 0x82D8E0C7)
Begin forwarded message:
> From: Manuel Reimer <[email protected]>
> Subject: [OpenBD] How to serve CFML application from root context and/or with
> the URL I want it to have?
> Date: March 1, 2013 4:35:03 AM EST
> To: "[email protected]" <[email protected]>
> Reply-To: [email protected]
>
> Hello,
>
> my OpenBD installation can be accessed via
>
> http://mytomcatserver:8080/openbd/
>
> A application, I want to host with openbd has the following URL:
>
> http://mytomcatserver:8080/openbd/myappname
>
> What I want is, that the tomcat server serves my application with an URL
> like this:
>
> http://mytomcatserver:8080/services/myappname
>
> Means: I want to create a new directory "services" below "webapps" and
> place my application code there.
>
> Is it possible to somehow register my openbd installation to tomcat, so
> it is used for an webapp that is installed outside of the "openbd"
> directory?
>
> Mit freundlichen Grüßen / Best regards
>
> Manuel Reimer
>
> --
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.