[TYPO3-UG Italy] RealUrl Configuration per principiante

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Fri Nov 9 14:31:27 CET 2007


Buongiorno,

 

Ho la seguente esigenza sul mio typo3 4.0.2:

 

La mia attuale configurazione di RealURL è:

 

/**

* RealURL configuration

*/

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(

            

            // Default host

            '_DEFAULT' => array(

            

                        // General configuration

 

                        

    'init' => array(

        'enableUrlDecodeCache' => 0,

        'enableUrlEncodeHash' => 0,

        ),

    'pagePath' => array(

        'type' => 'user',

        'userFunc' =>

            'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',

        'spaceCharacter' => '_',

        'languageGetVar' => 'L', // with two trees you don't really need this param

        // 'rootpage_id' => 23,  // <= rootpage id of the first tree (www.yourdomain.de)

        'expireDays' => 3

        ),

 

                        

                        // Redirections

                        'redirects' => array(),

                        

                        // Pre variables

                        'preVars' => array(

                                   

                                   // No cache

                                   array(

                                               'GETvar' => 'no_cache',

                                               'valueMap' => array(

                                                           'no_cache' => 1,

                                               ),

                                               'noMatch' => 'bypass',

                                   ),

                                   

                                   // Language

                                   array(

                                               'GETvar' => 'L',

                                               'valueMap' => array(

                                                           'it' => '0',

                                               ),

                                               'valueDefault' => 'it',

                                   ),

                        ),

                        

                        // Transformation method

                        'pagePath' => array(

                                   'type' => 'user',

                                   'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',

                                   'spaceCharacter' => '-',

                                   'languageGetVar' => 'L',

                                   'expireDays' => 3,

                        ),

                        

                        // Fixed post variables

                        'fixedPostVars' => array(),

                        

                        // Post variables

                        'postVarsSets' => array(

                                   '_DEFAULT' => array(),

                        ),

                        

                        // File names

                        'fileName' => array(

                                   'index' => array(

                                               'index.html' => array(

                                                           'keyValues' => array(),

                                               ),

                                   ),

                        ),

            ),

);

 

 

E' possibile modificarla in maniera tale che, se mi viene richiesta una pagina .htm, in realtà si venga reindirizzati sulla corrispettiva .html?

 

Grazie per l'aiuto, io di Realurl non ne so proprio nulla : )  

Riccardo De Contardi



Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilità connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-UG-italy mailing list