[opencms-dev] Mistake in the Documentation

Nigel Kersten nigel at cofa.unsw.edu.au
Tue Dec 20 21:51:17 CET 2005


Mine is working fine at the moment as:

                 <rendersettings>
                         <rfs-prefix>/export</rfs-prefix>
                         <vfs-prefix>/</vfs-prefix>
                         <userelativelinks>false</userelativelinks>
                         <exporturl>http://127.0.0.1:8080/cms/ 
handle404</exporturl>
                         <plainoptimization>true</plainoptimization>
                         <testresource uri="/system/shared/page.dtd"/>
                         <resourcestorender>
                                 <regex>/sites/.*</regex>
                                 <regex>/system/galleries/.*</regex>
                                 <regex>/system/modules/.*/ 
resources/.*</regex>
                         </resourcestorender>
                 </rendersettings>

but I've rewritten the /opencms/ prefix as /cms/, and am running it  
out of the ROOT context in Tomcat.

Can't remember off the top of my head which attributes SERVLET_NAME  
and CONTEXT_NAME map to, I ended up hardwiring it like above.



On 21/12/2005, at 3:04 AM, Alessandro Magnolo wrote:

> In version 6.0.3 there's still the ${SERVLET_NAME} mistake in file
> mod_proxy.html.
> Is the proposed solution reported below correct?
>
> On 11/22/05, Nigel Kersten <nigel at cofa.unsw.edu.au> wrote:
>>
>> On 22/11/2005, at 2:20 PM, Nigel Kersten wrote:
>>
>>>   <rendersettings>
>>>       <rfs-prefix>/export</rfs-prefix>
>>>       <vfs-prefix>${SERVLET_NAME}</vfs-prefix>
>>>       <userelativelinks>false</userelativelinks>
>>>       <exporturl>http://127.0.0.1:8080${SERVLET_NAME}/handle404</
>>> exporturl>
>>>       ...
>>>   </rendersettings>
>>
>>  From testing, as I'm doing this same config at the moment...
>>
>> it should be:
>>
>> <rendersettings>
>>         <rfs-prefix>/export</rfs-prefix>
>>         <vfs-prefix>${CONTEXT_NAME}</vfs-prefix>
>>         <userelativelinks>false</userelativelinks>
>>         <exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</
>> exporturl>
>>         <plainoptimization>true</plainoptimization>
>>         <testresource uri="/system/shared/page.dtd"/>
>>         <resourcestorender>
>>                 <regex>/sites/.*</regex>
>>                 <regex>/system/galleries/.*</regex>
>>                 <regex>/system/modules/.*/resources/.*</regex>
>>         </resourcestorender>
>> </rendersettings>
>>
>>
>>
>> --
>> Nigel Kersten [Senior Technical Officer]
>> College of Fine Arts, University of NSW, Australia.
>> CRICOS Provider Code: 00098G
>>
>>
>>
>>
>> _______________________________________________
>> This mail is send to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list,  
>> please visit
>> http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,  
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>

-- 
Nigel Kersten [Senior Technical Officer]
College of Fine Arts, University of NSW, Australia.
CRICOS Provider Code: 00098G





More information about the opencms-dev mailing list