Zum Inhalt springen

REAL URL : Bad Request Your browser sent a request that this server could not understand.

Erstellt am 18. März 2010 · 1 Antwort · letzte Antwort am 18. März 2010

Tags: RealURL, Server & Hosting, Frage

Cubana13 ·

Hallo zusammen,

ich versuche momentan REAL URL zu laufen zu bringen, aber scheitere an einer Fehlermeldung die beim anklicken eines Links erscheint.

Bad Request
Your browser sent a request that this server could not understand.

Typo3 Installation
http://www.hager-otte.de/webseiten/cms/voglwuid_neu_1/

Ich verwende
Typo3 4.3.2
RealUrl 1.7.0
phpmyadmin 4.8.0
t3quixplorer 1.7.1

als Vorlage habe ich ein Template von Rasi.ch genommen ( Feuerwehr )

http://rasi.ch/index.php?id=69

Vielleicht hat ja jemand einen Tipp für mich....

Gruß Carsten

Mein TS

config {
#Ausgabe von XHTML aktivieren 
xhtml_cleaning = all

#Doctype auf XHTML 1.0 Transitional einstellen
#doctype = xhtml_trans
doctype = xhtml_strict
#renderCharset = utf-8

#Sprache für die Attribute "xml:lang" und "lang" im <html>-Tag
htmlTag_langKey = de

#XML Prolog unterdrücken, weil der Internet Explorer ansonsten in den nicht standartkonfomen Quirks-Modus wechselt
xmlprologue = none


#noPageTitle = 2

#Sprache
language = de
locale_all = german
#sendCacheHeaders=0
index_enable = 1

admPanel = 1
inlineStyle2TempFile = 1

# Externalize CSS and JS
removeDefaultJS = 0

#Cache
#cache_clearAtMidnight
#no_cache=1

# Spam Protection
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)

# Enable rewriting
simulateStaticDocuments = 0
baseURL = http://www.hager-otte.de/webseiten/cms/voglwuid_neu_1/
tx_realurl_enable = 1
prefixLocalAnchors = all
}

Meine Localconf.php

<?php
$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';

	// Default password is "joh316" :
$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';

$TYPO3_CONF_VARS['EXT']['extList'] = 'version,tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,css_styled_content,t3skin,t3editor,reports';

$typo_db_extTableDef_script = 'extTables.php';

## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!

$typo_db_username = 'xxx';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db_password = 'xxx';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db_host = 'mysql5.hager-otte.de';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['encryptionKey'] = '6d0e8ef93ae851c2d03ce8c54fce7347fe460d9fc6d255ca3ad82b68e125dfb090678e0c0c9fe03154d57ee360558044';	// Modified or inserted by TYPO3 Install Tool. 
$TYPO3_CONF_VARS['SYS']['compat_version'] = '4.3';	//  Modified or inserted by TYPO3 Install Tool.
$typo_db = 'xxx';	//  Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 17-03-10 18:22:23
$TYPO3_CONF_VARS['EXT']['extList'] = 'css_styled_content,version,tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,t3skin,t3editor,reports,about,cshmanual,feedit,opendocs,recycler,scheduler,t3quixplorer,phpmyadmin,realurl';	// Modified or inserted by TYPO3 Extension Manager. Modified or inserted by TYPO3 Core Update Manager. 
// Updated by TYPO3 Core Update Manager 17-03-10 18:22:52
$TYPO3_CONF_VARS['SYS']['sitename'] = 'Voglwuid Neu';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['disable_exec_function'] = '0';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['gdlib_png'] = '0';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_version_5'] = 'gm';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['maxFileSize'] = '102400';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['jpg_quality'] = '100';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['setMemoryLimit'] = '50';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['UTF8filesystem'] = '1';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['EXT']['noEdit'] = '0';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['warning_email_addr'] = 'xxx';	//  Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['loginNewsTitle'] = 'Willkommen bei Voglwuid';	//  Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 17-03-10 18:43:35
$TYPO3_CONF_VARS['EXT']['extList_FE'] = 'css_styled_content,install,rtehtmlarea,t3skin,feedit,t3quixplorer,phpmyadmin,realurl';	// Modified or inserted by TYPO3 Extension Manager. 
$TYPO3_CONF_VARS['EXT']['extConf']['phpmyadmin'] = 'a:2:{s:12:"hideOtherDBs";s:1:"1";s:9:"uploadDir";s:21:"uploads/tx_phpmyadmin";}';	//  Modified or inserted by TYPO3 Extension Manager.
$TYPO3_CONF_VARS['EXT']['extConf']['realurl'] = 'a:5:{s:10:"configFile";s:26:"typo3conf/realurl_conf.php";s:14:"enableAutoConf";s:1:"1";s:14:"autoConfFormat";s:1:"0";s:12:"enableDevLog";s:1:"0";s:19:"enableChashUrlDebug";s:1:"0";}';	//  Modified or inserted by TYPO3 Extension Manager.

?>
<?php include(PATH_typo3conf.'realurlconf.php'); php?>

Die eingebundene realurlconf.php sieht so aus...

<?php
$TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tstemplate.php'] ['linkData-PostProc'] []
= 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS'] ['tslib/class.tslib_fe.php'] ['checkAlternativeIdMethods-PostProc'] []
= 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$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';
$TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .=
',tx_realurl_pathsegment,alias,nav_title,title';

$TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'] = array(

        'init' => array(
                'enableCHashCache' => 1,
                 'appendMissingSlash' => 'ifNotFile',
                 'enableUrlDecodeCache' => 1,
                'enableUrlEncodeHash' => 1,
                // 'postVarSet_failureMode' => 'redirect_goodUpperDir',
        ),

         'redirects' => array(
         ),
         /* 'rewrite' => array(
         ), */

        'preVars' => array(
                /*                                 array(
                        'GETvar' => 'no_cache',
                        'valueMap' => array(
                                'nc' => 1,
                        ),
                        'noMatch' => 'bypass',
                ),   */
                 /*
                array(
                        'GETvar' => 'L',
                        'valueMap' => array(
                                'de' => '0',
                                'en' => '1',
                        ),
                        'valueDefault' => 'de',
                ),
                */
        ),

         'pagePath' => array(
                'type' => 'user',
                'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                'spaceCharacter' => '-',
                'languageGetVar' => 'L',
                // 'firstHitPathCache' => 1,
                 'expireDays' => 3,
                // ------------> hier unbedingt die id der Rootseite anpassen!!! <------------
                'rootpage_id' => '1'
        ),

         'fileName' => array (
                'defaultToHTMLsuffixOnPrev' => 1,
                'index' => array(
                        /*'index.html' => array(*/
                                'keyValues' => array (
                                        /*'type' => 1,*/
                                ),
                        /*),*/
                ),
        ),

         'fixedPostVarSets' => array(
        ),

        'postVarSets' => array(
        ),
);
?>

Meine htaccess

# Enable URL rewriting

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php

RewriteRule ^(.*)\.htm$ /index.php
Cubana13 ·

Hab das Problem gelöst.

Hab alles rückgängig gemacht und neu angefangen

1. Real Url neu installiert
2. Ext. aeurltool 0.1.0 installiert
3. Die Vorgaben der ext. aeurltool übernommen.
4. folgende htaccess datei erstellt

# Enable URL rewriting
RewriteEngine On
RewriteBase /
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
RewriteRule ^(.*)\.htm$ /index.php

5. Mein TS lautet

config {
# Enable rewriting
simulateStaticDocuments = 0
baseURL = http://www.hager-otte.de/
tx_realurl_enable = 1
prefixLocalAnchors = all
}

Vielleicht kann ja jemand damit was anfangen.

Gruß Carsten