[TYPO3] RealURL Problem on 3.8.1 with RealURL 1.0.0

Harald Klotzberg [decomplex audio HQ] harry at decomplexaudio.com
Thu Feb 16 17:28:01 CET 2006

Hello again,

I moved the Page from the subdirectory to htdocs now,
prevent the possible problem with the wrong path reported, 
but same problems here. It is phadmin installed as well,

still the same problem with <base href like explained,

anyone any idea whats wrong here?

i have no more ideas :(

grtz, harry

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Harald
Klotzberg [decomplex audio HQ]
Sent: Thursday, February 16, 2006 8:26 AM
To: typo3-english at lists.netfielders.de
Subject: [TYPO3] RealURL Problem on 3.8.1 with RealURL 1.0.0

Hello List,

i´ve a strange problem using real-url with Typo 3.8.1 and RealURL 1.0.0 (i
tried 0.3.0, but more problems than with 1.0). I used it a thousand times on
my server (with php as module), but on the server i currently work there is
a CGIWrapper installed, Symlinks allowed but not from file to file. (Changed
file-symlinks for index.php and showpic.php to original files, works nice)

I want to generate URL´s like that:


No challenge up to that, Encoding works nice, no prob there!
I installed it to a subdirectory http://www.blah.de/subdirectory/

RealURL works (Logfile seems ok) (tried different versions) .htaccess as
well (tried different versions) localconf.php as well  (tried different
versions, i have some own working

Decoding works as well, but only for Level1 Menueentries, mhm ... If i click
on L2 or L3 Menueentries i get this:

Error. Reason: "blahblahblah.html" could not be found, closest page matching

I checked the Sourcecode of class.tx_realurl.php looking for the code which
outputs this error message and found that:

			// Looking for remaining parts:
		if (count($pathParts))	{
could not be found, closest page matching is

Looking for remaining parts ????!!!
Ok, something must be wrong in decoding, but my rules seems to be ok (see
bottom for sourcecode)

I guess there must be something to fix with the server (httpd.conf etc ...)
i´m not sure (CGIWrapper?)

2nd thing is:
On Systems with working url the output in html files is <base
href="http://www.blah.de/subdirectory/> on every site! In this case the base
directory is <base href="http://www.blah.de/subdirectory/test1/>
or <base href="http://www.blah.de/subdirectory/test1/test2/> ... but i´m
unable to fix it, baseURL in TS is correct, tried to use RewriteBase =
/subdirectory/ in .htaccess but doesn´t help as well

I have no more ideas :(

hope someone can help me!

Thanx a lot!

grtz, harry

Sourcecodesnippets (changed url to www.blah/subdirectory/)


-PostProc'][] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
IdMethods-PostProc'][] =
he_additionalTables']['tx_realurl_urldecodecache'] =
he_additionalTables']['tx_realurl_urlencodecache'] =
$TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .=
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
	'init' => array(
		'enableCHashCache' => 1,
		'enableUrlDecodeCache' => 1,
		'enableUrlEncodeHash' => 1,
		'appendMissingSlash' => 'ifNotFile'
	'redirects' => array(),
	'preVars' => array(
			'GETvar' => 'no_cache',
			'valueMap' => array(
				'no_cache' => 1,
			'noMatch' => 'bypass',
			'GETvar' => 'L',
			'valueMap' => array(
				'de' => '0',
				'en' => '1',
			'noMatch' => 'bypass',

 	'pagePath' => array(
		'type' => 'user',
        'userFunc' =>
		'spaceCharacter' => '-',
		'languageGetVar' => 'L',
		'expireDays' => '3',
		'rootpage_id' => '1'
	'noMatch' => 'bypass',

	'fileName' => array (
		'defaultToHTMLsuffixOnPrev' => 1,
		'index' => array(
			'page.html' => array(
				'keyValues' => array (
					'type' => 1,
		'_DEFAULT' => array(
			'keyValues' => array(
				'type' => 1,



RewriteEngine On
RewriteBase /subdirectory/ (doesn´t help with or without) RewriteRule
^/typo3$ - [L] RewriteRule ^/typo3/.*$ - [L] RewriteRule ^/typo3conf$ - [L]
RewriteRule ^/typo3conf/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php
#RewriteRule (\.html|/)$ index.php


config.simulateStaticDocuments = 0
config.baseURL = http://www.blah.de/subdirectory/ config.tx_realurl_enable =
config.prefixLocalAnchors = all

TYPO3-english mailing list
TYPO3-english at lists.netfielders.de

More information about the TYPO3-english mailing list