[TYPO3] FW: RealUrl Configuration Problem

Charlotte Berry CBerry at NetCentrics.com
Thu Jan 18 19:53:42 CET 2007


I'm trying to use RealUrl on Typo3 4.0.3.

 

RealUrl is correctly encoding page url, but decode of page urls fails
with (an example)  Error: Reason: "forums.html" could not be found,
closest page matching is

 

I've read the RealUrl configuration guide several times but am obviously
too dense to figure out what I've goofed. I've also searched the
Internet for others who have similar problems. I noticed a similar post
on this site, but never saw a response.

 

Any help is greatly appreciated.

 

Charlotte

 

My configuration is as follows:

 

TSObject:

 

## RealUrl Configuration ##

config.simulateStaticDocuments = 0

config.baseURL=http://localhost/

config.prefixLocalAnchors = all

config.tx_realurl_enable=1

config.typolinkCheckRootline=1

 

Apache2/conf/httpd.conf

<VirtualHost *:80>

    DocumentRoot /Apache2/Apache2/htdocs/

    ErrorLog /Apache2/Apache2/logs/error.log

 

   <Directory />

      Options Indexes Includes FollowSymLinks MultiViews

      AllowOverride All

      DirectoryIndex index.php index.html index.htm

      RewriteEngine On

      RewriteRule ^/typo3$ - [L]

      RewriteRule ^/typo3/.*$ - [L]

      RewriteCond %{REQUEST_FILENAME} !-f

      RewriteCond %{REQUEST_FILENAME} !-d

      RewriteCond %{REQUEST_FILENAME} !-l

      RewriteRule .* /index.php

   </Directory>

 

   UseCanonicalName On

 

</VirtualHost>

 

Localconf.php

 

//Debug RealURL

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

       'init' => array (

                           'enableCHashCache' => '1',

                           'appendMissingSlash' => 'ifNotFile',

                           'enableUrlDecodeCache' => '1',

                           'enableUrlEncodeCache' => '1',

                           'rootPageID' => '1',

        ),

       'redirects' => array (

        ),

       'preVars' => array(

             'GETvar' => 'L',

            'valueMap' => array(

                'en' => '0',

                'de' => '1',

                'sv' => '2',

            ),

           'valueDefault'=>'en',

      ),

 

      'pagePath' => array(

         'type' => 'user',

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

          'spaceCharacter' => '-',

          'languageGetVar' => 'L',

         'expireDays' => '3',

         'rootpage_id' => '1',

      ),

      'fileName' => array (

                          'defaultToHTMLsuffixOnPrev' => true,

        ),

 

);



More information about the TYPO3-english mailing list