[opencms-dev] Use servlet path to point to different site

Mario Jäger m.jaeger at alkacon.com
Mon Dec 28 17:17:43 CET 2009


Hi,

Here is described how to remove the /opencms/opencms prefix without using Apache by using the
UrlRewrite: http://opencms-wiki.org/Removing_the_/opencms/opencms_prefix_without_using_Apache

Perhaps you can extend this scenario for your requirements.

-- 
Kind Regards,
Mario.
 
-------------------
Mario Jäger
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org


Graeme Kidd schrieb:
>
> Hi,
>
>  
>
> I am wanting to add a second site and change the second 'opencms'  to 
> point to this new site.
>
> The first 'opencms' is the web application name which can be removed 
> if I install OpenCMS in the root, sadly there is already something 
> installed there.
>
> This leaves the second 'opencms' which is a servlet mapping, since you 
> can add more than one url pattern I was wondering if it were possible 
> to add another site this way. For example I could change the current 
> servlet mapping to:
>
>  /opencms/site1/ (/sites/default/index.jsp)
>
> Then add another servlet mapping to point to another site:
>
> /opencms/site2/ (/sites/site2/index.jsp)
>
>  
>
> Does anyone know if such a system is possible when I am using Tomcat 
> without Apache.
>
>  
>
> Thanks
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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