[opencms-dev] Re: Making OpenCMS ROOT Web App

Stanczak Group justin at stanczakgroup.com
Tue Sep 19 21:50:24 CEST 2006


Unless someone has a different way, the only way I can see to do this is 
to make opencms the root app and put an index.jsp that redirects to 
/opencms. Is this correct? This is the best option I could find.

Stanczak Group wrote:
> 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




More information about the opencms-dev mailing list