Zum Inhalt springen

RealURL liefert 403

Erstellt am 24. April 2008 · 4 Antworten · letzte Antwort am 25. April 2008

Tags: RealURL, Server & Hosting, Frage

Reimemonster ·

Hallo habe Real URL installiert und bekomme immer einen 403 - Forbidden
You don't have permission to access /.html on this server.

Es steht auch nur ein meinedomain.de/.html . Bin auf einem Mittwald - Server und hier sind meine Configs:

TypoScript Setup

config{
        simulateStaticDocuments = 0
	prefixLocalAnchors = all
	tx_realurl_enable = 1
	baseURL = http://www.combined-deutschland.de/
	uniqueLinkVars = 1
	linkVars = L 
        }

mod_rewrite.htaccess

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

ext_localconf.php

<?php

$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearPageCacheEval']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->clearPageCacheMgm';

$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] = 'tx_realurl_urlencodecache';

// Must use '&" with tcemain hook!!! Important for proper work of the hook.
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['tx_realurl'] = 'EXT:realurl/class.tx_realurl_tcemain.php:&tx_realurl_tcemain';

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';

// Include configuration file
$_realurl_conf = @unserialize($_EXTCONF);
if (is_array($_realurl_conf)) {
	$_realurl_conf_file = trim($_realurl_conf['configFile']);
	if ($_realurl_conf_file && @file_exists(PATH_site . $_realurl_conf_file)) {
		require_once(PATH_site . $_realurl_conf_file);
	}
	unset($_realurl_conf_file);
}

define('TX_REALURL_AUTOCONF_FILE', 'typo3conf/realurl_autoconf.php');
if (!isset($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'])) {
	@include_once(PATH_site . TX_REALURL_AUTOCONF_FILE);
}
unset($_realurl_conf);

define('TX_REALURL_SEGTITLEFIELDLIST_DEFAULT', 'tx_realurl_pathsegment,alias,nav_title,title');
define('TX_REALURL_SEGTITLEFIELDLIST_PLO', 'nav_title,title');

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeHash' => 1,
'postVarSet_failureMode' => 'redirect_goodUpperDir',
),
'rewrite' => array(),
'preVars' => array(),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3,
'rootpage_id' => '7'
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
),
),
),
),
);

?>

Wer kann mir helfen?

Reimemonster ·

Ok...hab das geändert in .htaccess. Keine Reaktion. Immer noch steht nach der Domain nur ein Slash und .html (FORBIDDEN)

Reimemonster ·

Ja meine Rootpage hat diese ID.
Komisch finde ich das ich im TS Setup der Rootpage nix von staticDocuments = 1 drin stehen habe, ich aber trotzdem 122.0.html generiert bekomme. Sobald ich staticDocuments = 0 reinsetze habe ich wieder die index.php - Links.

Irgendjemand ne Idee....