[opencms-dev] opencms-wiki | opencms_prefix_without_using_Apache

contact contact at living-structures.de
Wed Jul 22 11:36:24 CEST 2009


does this also work under opencms 6.2.2.x ?

regards,
andrew



Yves Glodt schrieb:
> On Wednesday 15 July 2009, Achim Westermann wrote:
>   
>> Hi Yves,
>>
>> thank you for self - replying, this may be useful for the community!
>> I did neither know or think this is possible nor try to do it (always
>> used the ROOT context in Tomcat for removing the context part and
>> mod_rewrite in apache for getting rid of the servlet name).
>>
>> I don't speak chinese but I'd be happy if this would be translated to
>> english and posted to opencms-wiki.org to be shared and polished by a
>> larger community.
>>     
>
> Hello Achim and list,
>
> This is what I did as of now:
> http://www.opencms-wiki.org/Removing_the_/opencms/opencms_prefix_without_using_Apache
>
> Please feel very free to correct/rename/improve it... :-)
>
> Best regards,
> Yves
>
>   
>> Kind Regards,
>> Achim.
>>
>> -------------------
>> Achim Westermann
>>
>> Alkacon Software GmbH  - The OpenCms Experts
>> http://www.alkacon.com - http://www.opencms.org
>>
>> Yves Glodt wrote:
>>     
>>> I self reply again...
>>>
>>> I found no way making OpenCms work with /* as path for the
>>> OpenCmsServlet. Then urlrewrite came into my mind and I found this:
>>>
>>> http://www.tangmonk.com/km/removeOpencmsPrefix.html
>>>
>>> and it works AFAICS
>>>
>>> Best regards
>>>
>>> On Wednesday 15 July 2009, Yves Glodt wrote:
>>>       
>>>> Hello,
>>>>
>>>> I have a situation where Tomcat6/win64 is in a DMZ behind an
>>>> Microsoft ISA, and I can not use a front-apache httpd. I use
>>>> opencms 7.5-jpa with Firebird 2.1.
>>>>
>>>> Now the old story: I need to remove the /opencms/opencms prefix.
>>>> The first one I got rid of by installing as ROOT,war
>>>>
>>>> I managed to rename the second /opencms to /web, and it works as
>>>> well. But as soon as I name it / I get 404 errors.
>>>>
>>>> What I did is:
>>>> 1. Changed the <context-param> called "OpenCmsServlet" from
>>>> "/opencms/*" to "/*" 2. Changed the <servlet-mapping> for
>>>> "OpenCmsServlet" from "/opencms/*" to "/*" and nothing else.
>>>> opencms-importexport was not touched.
>>>>
>>>>
>>>> Are there some special steps to take to rename the
>>>> opencms-servlet?
>>>>
>>>>
>>>> Thanks in advance and best regards,
>>>> Yves
>>>>         
>
> _______________________________________________
> 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
>
>   



More information about the opencms-dev mailing list