--- template.php~ 2008-06-11 10:15:21.000000000 +0200 +++ template.php 2008-06-14 15:13:54.000000000 +0200 @@ -437,6 +437,7 @@ class template { $backPath=$this->backPath; $storeUrl=$this->makeShortcutUrl($gvList,$setList); $pathInfo = parse_url(t3lib_div::getIndpEnv('REQUEST_URI')); + $pathInfo['path'] = preg_replace('/https?:\/\/' . t3lib_div::getIndpEnv('HTTP_HOST') . '/', '', $pathInfo['path']); // Add the module identifier automatically if typo3/mod.php is used: if (ereg('typo3/mod\.php$', $pathInfo['path']) && isset($GLOBALS['TBE_MODULES']['_PATHS'][$modName])) {