Gentics CMS Context Path

This page will explain the configuration of the context path.

Chapters

  1. Overview

1 Overview

The context path can be configured. This includes also the previously fixed /CNPortletapp path.

Examples:


http://cms.my-domain.tld/.Node/
http://cms.my-domain.tld/info/.Node/
http://cms.my-domain.tld/info/Content.Node/

Please note that this path has to be changed with a mod_rewrite rule:

Rewrite rules:


	RewriteRule ^/info/(.*)$ /$1 [PT]
	RewriteRule ^/info/CNPortletapp(.*)$ /CNPortletapp$1 [PT]
	RewriteRule ^/info/GenticsImageStore(.*)$ /info/CNPortletapp/GenticsImageStore$1 [PT]

Configuration Example:


	$STAG_PREFIX = "/info/.Node/";
	$CN_LOCAL_PATH = '/info/.Node/';
	
	$PORTLETAPP_PREFIX = "/info/CNPortletapp/";
	$PORTAL_CONNECT['url'] = $CN_LOCAL_SERVER.$PORTLETAPP_PREFIX.'/JavaParserInvoker';