[TYPO3-english] RealURL and simulateStaticDocuments

Alessandro Tuveri at at uniud.it
Sun Jul 29 12:15:41 CEST 2012


Hi Follks
I am simulateStaticURLs lover, but recently I passed some sites to reealurl.
Unfortunately the realurl guide doesn't help anymore to do this job.
To get the backward compatibility do the following:

0. Web > list mode >click the root-page of your site then add a new  
record typo3 domain; insert your domain name without 'http:'; ie. type:
www.yourdomain.com

1. install realurl and configure

2. i prefer to put the code into the external file (realurl_conf.php)  
within typo3conf folder

3. set the site with this code:

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array();
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
         'init' => array(
                 (... some other arrays conf...)
                 $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array();
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
         'init' => array(

                 'respectSimulateStaticURLs' => 0,
                 'respectSimulateStaticURLs' => 1,

4. install simulateStatic

5. add these line to your SETUP (Web > template > edit whole record):
config.baseURL = http://www.yourdomain.com/   <-don't forget to append  
the slash!
config.simulateStaticDocuments = 0
confg.tx_realurl_enable = 1
(eventually copy the above lines for your page-object i.e.:  
page.config.simlateStaticDocuments = 0)


6.install clear_realurl_cache +ext

7. clear all realurl cache, pages cache, content cache, etc. ALL

and test if it works correctly

see also:
http://xavier.perseguers.ch/en/tutorials/typo3/configuration/realurl.html
http://www.typo3-media.com/blog/article/realurl-configurator.html

read this and adapt the example described to your fits:
http://www.oliver-thiele.de/cms-typo3/tutorials/realurl-tutorial.html




ALESSANDRO TUVERI

--------------------------------------
AREA SERVIZI INFORMATICI E MULTIMEDIALI
Servizi WEeb d'Ateneo
Universit? degli Studi di Udine
tel. ufficio 0432-558904
--------------------------------------
Homo sine pecunia est imago mortis
--------------------------------------

----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine




More information about the TYPO3-english mailing list