[TYPO3-english] realurl: help with config needed - depending on what page i'm on, realurl shows different site links ?!
Thomas Russel
blueworm01 at gmx.net
Sat Oct 3 18:07:49 CEST 2009
Hello,
realurl is KILLING me here...
I'm testing on a local xampp installation, and typo3 is located in the
folder /typo
Let's say I'm on my homepage "welcome".
When I hover over the other menu entries, it shows the links like
"http://localhost/typo/82" for pages that have no alias set
and it shows
"http://localhost/typo/about/" for pages that have an alias, in this
case 'about'.
Now, when I click on any link, the page is shown as it should.
BUT if I hover over the menu links again, they will be like
"http://localhost/typo/about.html"
or
"http://localhost/typo/services.html" (which was
http://localhost/typo/82 before).
When I click those links, I get an error:
Reason: File "services.html" was not found
If I manually go to localhost/typo/ again, it shows
the links as desribed at the top.
"http://localhost/typo/82" etc..
I cleared all encode/decode caches and mappings, still the same... :/
This is my real realurl_config.php
----
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'emptyUrlReturnValue' => '/',
), //end init
'redirects' => array(), //end redirects
'preVars' => array(), //end preVars
'pagePath' => array(), //end pagePath
'fixedPostVars' => array(), //endPostVars
'postVarSets' => array(), //end postVarSets
// configure filenames for different pagetypes
'fileName' => array(), // end fileName
); //end
?>
----
This is my htacces-file:
---
RewriteEngine On
RewriteRule
^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)$
- [L]
RewriteRule
^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/.*$
- [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
---
More information about the TYPO3-english
mailing list