Removing /opencms/opencms from site url

(Difference between revisions)
Jump to: navigation, search
(1st opencms)
(1st opencms)
Line 1: Line 1:
 
====1st opencms====
 
====1st opencms====
 
The first opencms is the webapplication name (context). It is removed by installing opencms in the default webapp (for tomcat "ROOT").  
 
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.  
+
This is done by renaming opencms.war to ROOT.war before installation. If you install OpenCms as a exploded app (a folder instead of a war file) rename the folder as ROOT.
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====
 
====2nd opencms====

Revision as of 17:48, 12 November 2009

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. If you install OpenCms as a exploded app (a folder instead of a war file) rename the folder as ROOT.

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.

Removing_the_/opencms/opencms_prefix_without_using_Apache

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox