[TYPO3] RealURL confusion

Derek Harkness dharknes at umd.umich.edu
Sun Feb 19 19:08:20 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm completely new to typo3 so I apologize for my stupid questions up  
front.  I've got typo3 3.8.1 installed and more or less working for  
me, I've figured out the basics of template building but have hit a  
complete wall with RealURL.  My typo3 install will be serving up  
multiple subdomains for a mid-size university.  So here's what I've got.

I've got two domain configured right now
wwwtest.umd.umich.edu
and
wwwtest.its.umd.umich.edu
I have domain records for both.
In the template for wwwtest.its.umd.umich.edu I have these entries
config.simulateStaticDocuments = 0
config.baseURL = http://wwwtest.its.umd.umich.edu/
config.tx_realurl_enable = 1

and in my localconf.php
//RealURL configuration
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php'] 
['linkData-PostProc'][] = 'EXT:realurl/ 
class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php'] 
['checkAlternativeIdMethods-PostProc'][] = 'EXT:realurl/ 
class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php'] 
['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] =  
'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php'] 
['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] =  
'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .=  
',tx_realurl_pathsegment,alias,nav_title,title';
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
         '_DEFAULT' => array(
                 'init' => array(
                         'enableCHashCache' => 1,
                         'enableUrlDecodeCache' => 1,
                         'enableUrlEncodeHash' => 1,
                         'appendMissingSlash' => 'ifNotFile'
                 ),
                 'redirects' => array(),

                 'preVars' => array(
                         array(
                                 'GETvar' => 'no_cache',
                                 'valueMap' => array(
                                 'no_cache' => 1,
                                 ),
                         'noMatch' => 'bypass',
                         ),
                         array(
                                 'GETvar' => 'L',
                                 'valueMap' => array(
                                         'de' => '0',
                                         'en' => '1',
                                 ),
                                 'noMatch' => 'bypass',
                         ),
                 ),
                 'pagePath' => array(
                         'type' => 'user',
                         'userFunc' => 'EXT:realurl/ 
class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                         'spaceCharacter' => '-',
                         'languageGetVar' => 'L',
                         'expireDays' => '3',
                         'rootpage_id' => '2'
                 ),
                 'noMatch' => 'bypass',

                 'fileName' => array (
                         'defaultToHTMLsuffixOnPrev' => 1,
                         'index' => array(
                                 'page.html' => array(
                                         'keyValues' => array (
                                                 'type' => 1,
                                         )
                                 ),
                         ),
                         '_DEFAULT' => array(
                                 'keyValues' => array(
                                         'type' => 1,
                                 ),
                         ),
                 ),
         ),
         'wwwtest.its.umd.umich.edu' => array(
                 'init' => array(
                         'enableCHashCache' => 1,
                         'enableUrlDecodeCache' => 0,

                         'enableUrlEncodeHash' => 0,
                         'appendMissingSlash' => 'ifNotFile'
                 ),
                 'redirects' => array(),
                 'preVars' => array(
                         array(
                                 'GETvar' => 'no_cache',
                                 'valueMap' => array(
                                 'no_cache' => 1,
                                 ),
                                 'noMatch' => 'bypass',
                         ),
                         array(
                                 'GETvar' => 'L',
                                 'valueMap' => array(
                                         'de' => '0',
                                         'en' => '1',
                                 ),
                                 'noMatch' => 'bypass',
                         ),
                 ),
                 'pagePath' => array(
                         'type' => 'user',
                         'userFunc' => 'EXT:realurl/ 
class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                         'spaceCharacter' => '-',
                         'languageGetVar' => 'L',
                         'expireDays' => '3',
                         'rootpage_id' => '14'
                 ),
                 'noMatch' => 'bypass',

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

Now RealURL does sorta work if I goto wwwtest.its.umd.umich.edu add  
click on a sub page I get wwwtest.its.umd.umich.edu/accounts.html and  
all is happy but if I click on a subpage of accounts I get  
wwwtest.its.umd.umich.edu/accounts/passwords.html and typo3 returns a  
can't locate page error.  So after a very long build up the question  
is what am I missing?

Thanks!
Derek



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD+LQUsUNgsBVjM+0RAgAkAJ9k+0xfgjkf21ZVHYF1LZwB7AeIKQCfXl++
U90YBy75tPswO6Eg1kDOyek=
=LoHb
-----END PGP SIGNATURE-----



More information about the TYPO3-english mailing list