Hello,
I have the following configuration:
- realURL extension installed and running
- apache 2.2
- caches flushed (many times
)
the following typoscript code at the beginning of my page template:
_______________________________________
// Disable static document simulation
config.simulateStaticDocuments = 0
// Prefix anchors
config.prefixLocalAnchors = all
// Base tag
config.baseURL = http://server.domain.fr/cms/
// Enable RealURL
config.tx_realurl_enable = 1
_______________________________________
The following Php code in a conf_realurl.php file, loaded by /typo3conf/localconf.php:
________________________________________
<?php
/**
* RealURL configuration
*/
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
// Default host
'_DEFAULT' => array(
// General configuration
'init' => array(
'doNotRawUrlEncodeParameterNames' => 0,
'enableCHashCache' => 1,
'respectSimulateStaticURLs' => 1,
'appendMIssingSlash' => 1,
'adminJumpToBackend' => 0,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
// 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(
'fr' => '0',
),
'valueDefault' => 'fr',
),
),
// 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(),
),
),
),
),
);
?>
______________________________
I have also the following .htaccess content:
RewriteEngine On
RewriteRule ^.*typo3/.*$ - [L]
RewriteRule ^.*typo3/$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^.*/$ /index.php [PT]
___________________________________________
But, when I look at the links my page contains, my browser still shows URL like:
"http://server.domain.fr/cms/index.php?id=31"
that seems to say that typo3 doesn't rewrite the URL ?
Please, could someone help me?
thanks a lot
best regards
I have the following configuration:
- realURL extension installed and running
- apache 2.2
- caches flushed (many times
the following typoscript code at the beginning of my page template:
_______________________________________
// Disable static document simulation
config.simulateStaticDocuments = 0
// Prefix anchors
config.prefixLocalAnchors = all
// Base tag
config.baseURL = http://server.domain.fr/cms/
// Enable RealURL
config.tx_realurl_enable = 1
_______________________________________
The following Php code in a conf_realurl.php file, loaded by /typo3conf/localconf.php:
________________________________________
<?php
/**
* RealURL configuration
*/
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
// Default host
'_DEFAULT' => array(
// General configuration
'init' => array(
'doNotRawUrlEncodeParameterNames' => 0,
'enableCHashCache' => 1,
'respectSimulateStaticURLs' => 1,
'appendMIssingSlash' => 1,
'adminJumpToBackend' => 0,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
// 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(
'fr' => '0',
),
'valueDefault' => 'fr',
),
),
// 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(),
),
),
),
),
);
?>
______________________________
I have also the following .htaccess content:
RewriteEngine On
RewriteRule ^.*typo3/.*$ - [L]
RewriteRule ^.*typo3/$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^.*/$ /index.php [PT]
___________________________________________
But, when I look at the links my page contains, my browser still shows URL like:
"http://server.domain.fr/cms/index.php?id=31"
that seems to say that typo3 doesn't rewrite the URL ?
Please, could someone help me?
thanks a lot
best regards




