[TYPO3] RealUrl and fileName: Reason: "sitemap.xml" could not be found
Tomi Hrovatin
tomi at tri-ex.si
Wed Aug 6 15:23:46 CEST 2008
Anyone? I'm really desperate!
I read all the manuals, wikis, supports, ... nada.
On all other T3 sites fileName directive works perfectly (on the same
server).
I also enabled realUrl debuging and the output when accessing
sitemap.xml is:
realurl Entering decodeSpURL class.tx_realurl.php, line 715
realurl RealURL powered decoding (TM) starting! class.tx_realurl.php,
line 761
... but this doesn't help me much.
Hint?
T.
Tomi Hrovatin wrote:
> Hi,
> I made quite some realUrl setups and never had a problem like this. I
> believe I made some stu*id mistake but just can't find it.
>
> I installed extension that outputs sitemap.xml on type=200. A sitemap is
> indeed generated on that url (ie: domain.com?type=200), but realUrl
> returns 'Reason: "sitemap.xml" could not be found, closest page matching
> is'.
> All other rewriting stuff works as expected.
>
> So, here is my setup:
> t3 4.2.1
> realUrl 1.4.0
>
> realurl_autoconf.php:
> <?php
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (
> 'domain.com' =>
> array (
> 'init' =>
> array (
> 'enableCHashCache' => 1,
> 'appendMissingSlash' => 'ifNotFile',
> 'adminJumpToBackend' => true,
> 'enableUrlDecodeCache' => 1,
> 'enableUrlEncodeCache' => 1,
> 'emptyUrlReturnValue' => '/',
> ),
> 'preVars' => array(
> '0' => array(
> 'GETvar' => 'no_cache',
> 'valueMap' => array(
> 'nc' => 1,
> ),
> 'noMatch' => 'bypass',
> ),
> '1' => array(
> 'GETvar' => 'L',
> 'valueMap' => array(
> 'en' => '1',
> ),
> 'noMatch' => 'bypass',
> ),
> ),
> 'pagePath' =>
> array (
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'rootpage_id' => '4',
> ),
> 'fixedPostVars' => array(
> ),
> 'postVarSets' => array(
> ),
> 'fileName' => array(
> 'index' => array(
> 'sitemap.xml' => array(
> 'keyValues' => array(
> 'type' => 200,
> ),
> ),
> ),
> ),
> ),
> );
>
> mod_rewrite (.htaccess):
> RewriteEngine On
> RewriteRule
> ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/
> - [L]
> RewriteRule ^typo3$ typo3/index_re.php [L]
>
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
>
> RewriteRule .* index.php [L]
>
> I think thats all needed configuration. As I said, everything else works
> except for sitemap.xml.
>
> thanks for help,
> T.
More information about the TYPO3-english
mailing list