Hallo Forummitglieder ich habe ein Problem. Ich möchte auf meiner Webseite mit Hilfe von realUrl sprechende URLs erzeugen.
Hier meine Kofiguration :
Ich habe auf einem Windows System Typo 4.13 installiert.
hier mein Template:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94:
| config.simulateStaticDocuments = 0 config.baseURL = http://localhost/typo3wamp/ config.tx_realurl_enable = 1 seite = PAGE seite { typeNum = 0 bodyTag = <body bgColor = "#DDDDDD"> stylesheet = fileadmin/style.css meta.AUTHOR = Sebastian Büge meta.DESCRIPTION = Hier steht eine Beschreibung 10 = TEMPLATE 10.template = FILE 10.template.file = fileadmin/template.html 10.workOnSubpart = DOKUMENT 10.marks{ TRAILER = IMAGE TRAILER.file = GIFBUILDER TRAILER.file{ XY = 559,86 backColor = #82BC8B 10 = TEXT 10.text.field = subtitle // title 10.fontSize = 60 10.fontColor = #96CC9F 10.niceText = 1 10.offset = 10, 75 20 = TEXT 20.text.field = subtitle // title 20.fontSize = 36 20.fontColor = #E2F5E5 20.niceText = 1 20.offset = 40,68 } MENU_OBEN = HMENU MENU_OBEN.special = directory MENU_OBEN.special.value =3 MENU_OBEN.1 = TMENU MENU_OBEN.1.NO = 1 MENU_OBEN.1.NO.linkWrap = | | |*| | | |*| | MENU_LINKS = HMENU MENU_LINKS.special = directory MENU_LINKS.special.value = 4 MENU_LINKS.entryLevel = 0 MENU_LINKS.1 = GMENU MENU_LINKS.1.NO = 1 MENU_LINKS.1.NO { XY = 146, 30 backColor = #478951 10 = TEXT 10.text.field = title 10.fontColor = #FFFFFF 10.fontSize = 12 10.niceText = 1 10.offset = 7, 21 20 = IMAGE 20.file = GIFBUILDER 20.file { XY = 146,1 backColor = #FFFFFF } 20.offset = 0, 29 } MENU_LINKS.1.RO < .MENU_LINKS.1.NO MENU_LINKS.1.RO.backColor = #82BC8B MENU_LINKS.2 < .MENU_LINKS.1 MENU_LINKS.2 { NO.backColor = #E2F5E5 NO.10.fontColor = #478951 NO.20.file.backColor = #478951 RO < .NO RO.backColor = #FFFFFF RO.5 > } } - ERROR: Line 93: The script is short of 1 end brace(s) |
Code:
RewriteEngine On
RewriteOptions inherit
RewriteRule ^TYPO3$ - [L]
RewriteRule ^TYPO3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l und die localconf.php
PHP-Code:
<?php
$TYPO3_CONF_VARS['SYS']['sitename'] = 'TYPO3WAMP';
// Default password is "joh316" :
$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';
$TYPO3_CONF_VARS['EXT']['extList'] = '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,adodb,dbal';
$typo_db_extTableDef_script = 'extTables.php';
$TYPO3_CONF_VARS['SYS']['sitename'] = 'TYPO3 WAMP';
$TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
$TYPO3_CONF_VARS["SYS"]["compat_version"] = '4.1';
$TYPO3_CONF_VARS['SYS']['encryptionKey'] = '18997733ec258a9fcaf239cc55d53363de666e10ddcf967b43096c25490a1e63b88236ba069c028dab3697cfb7367926';
$typo_db_username = 'root';
$typo_db_host = 'localhost';
$typo_db = 'typo3';
$TYPO3_CONF_VARS["GFX"]["im"] = '1';
$TYPO3_CONF_VARS["GFX"]["im_path"] = 'C:/Programme/typo3/ImageMagick/';
$TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = 'C:/Programme/typo3/ImageMagick/';
$TYPO3_CONF_VARS['SYS']['curlUse'] = '1';
// RealURL
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '_',
'languageGetVar' => 'L',
'expireDays' => 3
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev'=> 1
),
);
also es werde schon urls richtig erzeugt aber wenn cih diese anklicke bekomme ich immer einen 404 Fehler.
Wer kann helfen