Removing /opencms/opencms from site url
From OpenCms Wiki
Revision as of 17:37, 12 November 2009 by 83.61.16.119 (Talk)
Contents |
1st opencms
The first opencms is the webapplication name (context). It is removed by installing opencms in the default webapp (for tomcat "ROOT"). This is done by renaming opencms.war to ROOT.war before installation. Also keep in mind that the database will be named ROOT then. <-- Database can have any name you want independently of app context. At last there is no problem on OpenCms 7.04 - 7.5.
2nd opencms
The second opencms is rewritten in the apache2 configuration.
Procedure
All this is described here: MultiSite_configuration_instructions_(apache_+_mod_jk). Please keep in man
Alternative way
This document describes how to remove the /opencms/opencms prefix without using Apache httpd, but only the UrlRewriteFilter on bare Tomcat.