[opencms-dev] Re: Making OpenCMS ROOT Web App
Christian Steinert
christian_steinert at web.de
Tue Sep 19 23:10:00 CEST 2006
You could
- do a redirect,
- use mod_proxy, or mod_rewrite (or sth similar)
- *OR* edit the servlet mapping in the web.xml of your opencms web application
the web.xml is where your remaining /opencms comes from.
hth
christian
> So how do I make OpenCMS the root app? Do I need to do a redirect or
> something? How do I make it just http://tomcatservername.com/ and it's
> shows the OpenCMS default site index.jsp?????
>
> Stanczak Group wrote:
> > I'm still having trouble here. When moving it to ROOT I still have to
> > use localhost:8080/opencms/. When i use localhost:8080/ I get a 404
> > error from opencms. So it's working in root, but my default site
> > doesn't seem to be mapped that way. What am I doing wrong?
> >
> > Christian Steinert wrote:
> >> Andras Balogh schrieb:
> >>
> >>> Hello,
> >>>
> >>> Just as a note installing opencms as ROOT will help getting rid of
> >>> only one /opencms/ from the url
> >>> so instead of www.yoursite.com/opencms/opencms/ you need to call
> >>> www.yoursite.com/opencms/ to get to your site.
> >>> You still need to add a redirect or so so www.yoursite.com will be
> >>> redirected to www.yoursite.com/opencms/
> >>> That is why people are using apache and mod_proxy to get rid of the
> >>> both /opencms/opencms/ from the url.
> >>>
> >> This is true.
> >> But you could also edit the web.xml of the opencms webapplication.
> >> That's what I did, because I did not want to do proxying or
> >> redirect-stuff.
> >>
> >> c.
> >>
> >> ------------------------------------------------------------------------
> >>
> >>
> >> _______________________________________________
> >> This mail is sent to you from the opencms-dev mailing list
> >> To change your list options, or to unsubscribe from the list, please
> >> visit
> >> http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
>
> --
> Justin Stanczak
> Stanczak Group
> 812-735-3600
>
> "All that is necessary for the triumph of evil is that good men do nothing."
> Edmund Burke
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
More information about the opencms-dev
mailing list