On Tue, Sep 27, 2011 at 10:37 PM, Magnus <[email protected]> wrote:

> After deploying OpenBD and moving my site files over I am finding that
> URLs relative to the site root are pointing to localhost:8080 rather
> than localhost:8080/openbd.
>

If I get what you're saying, that's to be expected. Until you do virtual
hosts for each webapp on Tomcat, you would have to include the context path
in relative URLs since / will be relative to the Tomcat root, not the
specific webapp root.

You can also leverage CFBASE for this:
http://www.openbd.org/manual/?/tag/CFBASE

But honestly I'd recommend getting in the habit of setting up a virtual host
for each webapp so / is relative to your application's root instead of
Tomcat's.

Perhaps related, I also edited server.xml to add a host for
> openbd.local as per the instructions but that still points to the
> tomcal root and not the openbd site root.
>

If this isn't working then something's amiss with your settings--this is how
I set up all my projects.

Let us know some details and we'll get you going, and also update anything
on the cookbook site that may have set things awry.

Thanks!
-- 
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to