[TYPO3] Realurl problem

Kristian Kleiveland kristian at graastein.no
Wed Mar 1 10:23:34 CET 2006


When I try to click a link generated by realurl I get a 404 page.

The links look great, with .html at the end and everything. But only the
front page works. All other links result in a 404.

The server has mod_rewrite activated. Is there something else that is
required?

This is my setup:

TYPO3 3.8.1
RealURL 1.1.0

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

localconf.php:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
	   'preVars' => array(
           array(
               'GETvar' => 'L',
               'valueMap' => array(
                   'dk' => '1',
               ),
               'noMatch' => 'bypass',
           ),
       ),
	   'pagePath' => array(
	   'type' => 'user',
	   'userFunc' => 
	   'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
	   'spaceCharacter' => '-',
	   'segTitleFieldList' => 
	   'tx_realurl_pathsegment,nav_title,title',
	   'languageGetVar' => 'L',
	   'expireDays' => 14,
       ),
	          'fileName' => array (
           'index' => array(
               'page.html' => array(
                   'keyValues' => array (
                       'type' => 1,
                   )
               ),
               '_DEFAULT' => array(
                   'keyValues' => array(
                   )
               ),
           ),
       ),
       'postVarSets' => array(
           '_DEFAULT' => array (
               'news' => array(
                   array(
                       'GETvar' => 'tx_mininews[mode]',
                       'valueMap' => array(
                           'list' => 1,
                           'details' => 2,
                       )
                   ),
                   array(
                       'GETvar' => 'tx_mininews[showUid]',
                   ),
               ),
           ),
       ),
   );

TS:
#configuration settings for realurl
config.baseURL = 1
config.baseURL = http://myserver.org/~username/
config.tx_realurl_enable = 1



More information about the TYPO3-english mailing list