mount point to root url - problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

mount point to root url - problem

masionas
hi,

I am having problem to get mount point to "/" working properly. the app defined as follows:

  <webapp name="webclone"
        title="My WebSite"
        server="default-server"
        location="webapp/webclone"
        mount-point="/"
        app-bar-display="false"/>

when I go to http://localhost:8080/ I get 404 from Tomcat.  I have looked in ContextFilter.java and "/" is added to allowed paths.

Where should I look further? Thank you in advance.
Reply | Threaded
Open this post in threaded view
|

Re: mount point to root url - problem

masionas
Ok, I've sorted out. Need to put index,jsp with forward.
Reply | Threaded
Open this post in threaded view
|

Re: mount point to root url - problem

Mike Z
You are probably better off using apache, which uses port 80, to do
the redirect.  You could force tomcat to bind to port 80, but it isn't
considered good practice.  If you use apache, then you can offload
things like serving images, and let tomcat (java) worry about ofbiz
stuff.

On Tue, Mar 1, 2011 at 8:44 AM, masionas <[hidden email]> wrote:
> Ok, I've sorted out. Need to put index,jsp with forward.
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/mount-point-to-root-url-problem-tp3329949p3330146.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: mount point to root url - problem

masionas
that's what I do :-) , having Apache as front-end big web guy.