[TYPO3] RealUrl url generation problem

Logi Huldar Gunnlaugsson logi at spuni.is
Thu Aug 3 17:08:11 CEST 2006


Hi all,

I'm a newbee trying to install the RealURL extension and I have a little
problem. I've tried to search the mailing list regarding this problem
without any result. The setup is fairly simple: I just want the url's to
be in the form of www.mydomain.com/en/pagename. This is working quite
well when I type the url in my browser but the links are not generated
on my site so the links are in the form of
www.mydomain.com/index.php?id=59&L=1.

Has anyone had this problem before or can anyone point my in a general
direction. 

I read these sites: 
http://wiki.typo3.org/index.php/EXT/realurl/examples
and
http://wiki.typo3.org/index.php/EXT/realurl/manual

My setup is the following:

------------------------------------------------------
Environment:
	Server: RHEL3
	Apache version: 2.0.46
	Typo3 version: 3.8.1
	RealURL version: 	1.0.0

------------------------------------------------------

TS Config:
	config.simulateStaticDocuments = 0
	baseURL = http:// www.mydomain.com
	config.tx_realurl_enable = 1
	config.uniqueLinkVars = 1
	config.linkVars = L

------------------------------------------------------

.htaccess config:
	Options +FollowSymLinks
	RewriteEngine On
	RewriteRule ^typo3$ - [L]
	RewriteRule ^typo3/.*$ - [L]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !-l
	RewriteRule .* index.php

------------------------------------------------------

[siteroot]/typo3conf/localconf.php config:
	$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
    		'init' => array(
        		'appendMissingSlash'		=>	'1',
        		'postVarSet_failureMode'	=>
'ignore',
        		'enableCHashCache'		=>	1, 
        		'appendMissingSlash'		=>
'ifNotFile',
        		'enableUrlDecodeCache'		=>	1,
        		'enableUrlEncodeCache'		=>	1,
   		),
    		'redirects' => array(
        		'' 		=> 	'2/',    
        		'admin/'	=>	'typo3',    
    		),
    		'preVars' => array(
	        	array(
	            	'GETvar' => 'L',
	            	'valueMap' => array(
	                		'is' => '0',
	                		'en' => '1',
	                		'de' => '2',
	                		'icelandic' => '0',
	                		'english' => '1',
	                		'german' => '2',
	            	),
	            	'noMatch' => 'bypass',
	        	),
	    	),
		'pagePath' => array	(
        		'type'	=>  'user',
        		'userFunc'  =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
        		'spaceCharacter'    =>  '_',
        		'rootpage_id'       =>  '2',
        		'languageGetVar'    =>  'L',
        		'disablePathCache'  =>  '0',
		),
    		'fixedPostVars' => array(
    		),	
    		'fileName' => array (
    		),
	);






More information about the TYPO3-english mailing list