Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 10.04.08, 17:22
Forum Zuschauer
 
Registriert seit: 28.01.08
Alter: 24
Beiträge: 1
Real Url mehrer Domains, flasche verlinkung

Hallöle,
mal eine kurze Frage ich habe real_url installiert hat auch bis zur zweiten seite super gefunkt aber bei der dritten will er nicht mehr so wie ich :/ vielleicht hat ihr ja einen Lösungsansatz.

Hier mal die ULR probleme die ich so habe:
Also anstatt http://www.domain.de/de/leit/testseite.html probiert er mir den Link ab der 3 Seitenbaum unter http://www.domain.de/de/testseite.html aufzurufen.
Wenn ich aber die Add genau wie im seitenbaum angebe funktioniert der Link.
Der seitenbaum ist auf jeden fall richtig ;) Seite für domain->lei->testseite
Domain der Seite zugeordnet, Seiten cache und Realurl Chach gelöscht ;)

Dann werden Links teileweise umgewandelt (/de/testseite.html) aber teilweise aber auch nicht (/index.php?id=275&L=0).

Danke schon mal für eure hilfe...

Hier mal die httacess

HTML-Code:
#####
# 
# Example .htaccess file
# 
# This file contains a collection of almost everything you will need
# for optimising TYPO3:
# 
# - mod_rewrite (used for SimulateStaticDocuments, RealUrl, etc.)
# - PHP optimisation
# 
# If you want to use it, you'll need to rename this file to '.htaccess'.
# (To make this work you will need to adjust the 'AllowOverride'
# directive in your Apache configuration file.)
# 
# IMPORTANT: You may need to change this file depending on your TYPO3
# installation!
# 
# You should change every occurance of TYPO3root/ to the location where you
# have your website in. For example:
# If you have your website located at http://mysite.com/
# then your TYPO3root/ is just empty (remove 'TYPO3root/')
# If you have your website located at http://mysite.com/some/path/
# then your TYPO3root/ is some/path/ (search and replace)
# 
# If you have problems with this file, try using the minimal
# mod_rewrite.htaccess which is located in the typo3_src/misc/
# directory of this installation.
# 
# You can also use this configuration in your httpd.conf, but you'll have
# to modify some lines, see the comments (search for 'httpd.conf')
# 
# Using rewriting in your httpd.conf is much faster, btw.
# 
# Questions about this file go to the matching Install mailing list,
# see http://typo3.org/documentation/mailing-lists/
# 
####
### Begin: Rewrite stuff ###
# Enable URL rewriting
RewriteEngine On
# To assist in debugging rewriting, you could use these lines
# DON'T enable it for production!
# This will only work in httpd.conf, not in .htaccess files
#RewriteLog /var/log/apache/rewrite.log
#RewriteLogLevel 9
# If you use the RealUrl extension, then you'll have to enable the next line.
# You will have to change this path if your TYPO3 installation is located
# in a subdirectory of the website root.
# 
# If you place this in httpd.conf, you cannot use this directive in any case!
RewriteBase /
# Stop rewrite processing if we are in the typo3/ directory
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
# Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
# and stop the rewrite processing
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/typo3$ /TYPO3root/typo3/index.php [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
# If the file/symlink/directory does not exist => Redirect to index.php
# Important note: If you copy/paste this into httpd.conf instead
# of .htaccess you will need to add '%{DOCUMENT_ROOT}' left to each
# '%{REQUEST_FILENAME}' part.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Main URL rewriting.
# If you use Windows and SimulateStaticDocuments do not work, try adding a
# slash (/) right before 'index.php' below.
# The example shows how to rewrite only *.html and *.pdf files to index.php
# This may be helpful when using an extension that can generate PDF files
# on the fly.
# Example: RewriteRule .*\.(html|pdf)$ index.php [L]
# For httpd.conf, use this line instead of the next one that has no '#':
# RewriteRule .* /TYPO3root/index.php [L]
# For use with the RealUrl extension, you might need to remove the
# RewriteBase directive somewhere above and use this line instead of the
# next one:
# RewriteRule .* /index.php [L]
RewriteRule .* /index.php [L]
#RewriteRule (\.html|/)$ index.php
### End: Rewrite stuff ###
### Begin: PHP optimisation ###
# All features below are left to the default if you don't change this.
# Simply remove the comment marks if you want to use some/all of these
# settings
# The PHP developers recommend disabling this feature. Do that.
# It's deprecated and is likely to be unsupported in future versions of PHP.
#php_flag allow_call_time_pass_reference off
# TYPO3 works fine with register_globals turned off.
# This is highly recommended!
#php_flag register_globals off
# PHP may not declare the argv & argc variables (that would contain the GET
# information).
# TYPO3 doesn't need this, so just turn it off.
#php_flag register_argc_argv off
# Magic quotes for runtime-generated data (data from SQL, exec(), etc.)
#php_flag magic_quotes_gpc off
# Order in which PHP registers GET, POST, Cookie and Built-in variables
#php_value variables_order GPCS
### End: PHP optimisation ###
### Begin: Miscellaneous ###
# Make sure that directory listings are disabled
#Options -Indexes
# There is a problem with Internet Explorer and mod_gzip on Apache servers.
# For more information, see
# http://typo3.org/documentation/document-library/rtehtmlarea/Tutorial-79/
#mod_gzip_item_exclude file \.css$
#mod_gzip_item_exclude file \.png$
#mod_gzip_item_exclude file \.gif$
#mod_gzip_item_exclude file \.jpg$
#mod_gzip_item_exclude file \.jpeg$
#mod_gzip_item_exclude file \.js$
### End: Miscellaneous ###
# Add your own rules here
# ...
ErrorDocument 404 /de/fehler.html
ErrorDocument 303 /de/fehler.html
RewriteCond %{HTTP_HOST} ^domain\.de$ [NC]
RewriteRule ^(.*) http://www.domain.de/$1 [R=301,L]
und die localconfig:
PHP-Code:
<?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';
 
$RootPID = array(
                      
'www.domain1.de' => '154',
                      
'www.domain2.de'  => '237',
           
'domain3.de'  => '269'
      
);
$TYPO3_CONF_VARS['EXTCONF']['realurl'] =
array(
    
'_DEFAULT' => array(
        
'init' => array(
        
'enableCHashCache' => 1,
                
'appendMissingSlash' => 'ifNotFile',
                
'enableUrlDecodeCache' => 0,
                
'enableUrlEncodeHash' => 0,
                
'postVarSet_failureMode' => '',
        ),
 
         
'redirects' => array(
         ),
         
/* 'rewrite' => array(
         ), */
 
        
'preVars' => array(
                
/*                                 array(
                        'GETvar' => 'no_cache',
                        'valueMap' => array(
                                'nc' => 1,
                        ),
                        'noMatch' => 'bypass',
                ),   */
 
                
array(
                        
'GETvar' => 'L',
                        
'valueMap' => array(
                                
'de' => '0',
                                
'en' => '2',
                        ),
                        
'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,
        
'disablePathCache' => 1,
                
// ------------> hier unbedingt die id der Rootseite anpassen!!! <------------
                
'rootpage_id' => $RootPID[$_SERVER['HTTP_HOST']]
 
        ),
 
         
'fileName' => array (
                
'defaultToHTMLsuffixOnPrev' => 1,
                
'index' => array(
                        
/*'index.html' => array(*/
                                
'keyValues' => array (
                                        
/*'type' => 154,*/
                                
),
                        
/*),*/
                
),
        ),
 
         
'fixedPostVarSets' => array(
        ),
 
        
'postVarSets' => array(
        ),
  ),
);
?>

und das template setup auszug:

Code:
seite = PAGE
config {
        doctype = xhtml_trans
        xmlprologue = none
        xhtml_cleaning = all
        xmlprologue = none
        spamProtectEmailAddresses = 2
        spamProtectEmailAddresses_atSubst = <span>@</span>
        simulateStaticDocuments = 0
        simulateStaticDocuments_noTypeIfNoTitle = 1
        noPageTitle = 2
        tx_realurl_enable = 1
        linkVars = L
        prefixLocalAnchors = all
        sys_language_uid = 0
        language = de
                locale_all = de_DE
                htmlTag_langKey = de-DE
         sys_language_overlay = 1
         noBlur = 1
         removeDefaultJS = external
                baseURL = WebGraphics Optimizer - The Ultimate Image Optimization Tool!
                htmlTag_setParams = xmlns="XHTML namespace" xml:lang="de" lang="de"
}
seite.10.marks.SPRACHE = TEXT
seite.10.marks.SPRACHE {
                        value = ...
                        typolink.parameter.data = page:uid
                        typolink.additionalParams = &L=2
                        wrap = |
                        }
seite.headerData.20 = TEXT
seite.headerData.20.value (
        <meta name="language" content="de" /> 
        <meta http-equiv="content-language" content="de,at,ch" />       
        <meta name="language" content="de,at,ch" />     
        <meta name="Content-Language" content="de,at,ch" />
        )
 
 
[globalVar = GP:L=2]
config {
        htmlTag_setParams = xmlns="XHTML namespace" xml:lang="en" lang="en"
        sys_language_uid = 2
        language = en
        locale_all = en_EN
        }
seite.10.marks.SPRACHE = TEXT
seite.10.marks.SPRACHE {
                value = ...
                typolink.parameter.data = page:uid
                typolink.additionalParams = &L=0
                wrap = | ...            }
seite.headerData.20 = TEXT
seite.headerData.20.value (
        <meta name="language" content="en" /> 
        <meta http-equiv="content-language" content="en,us" />  
        <meta name="language" content="en,us" />        
        <meta name="Content-Language" content="en,us" />
        )
[global]
plugin.tx_rlmplanguagedetection_pi1 {
   useOneTreeMethod = 0
   multipleTreesRootPages  {
      de = 0
      en = 2
   }
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are An


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Verlinkung innerhalb 2 domains istan TYPO3 4.x Fragen und Probleme 2 14.03.08 08:59
gleichen Inhalt auf mehrer Seiten gleichzeitig einfügen Saskia TYPO3 4.x Backend 2 24.02.08 16:08
mv_yahoo_weather zeigt flasche Temp tomaso Alle anderen Extensions 6 21.01.08 17:47
mehrer Tabellen im RTE dirvish TYPO3 4.x Rich Text Editor 0 07.05.07 09:40
Real URL andreas_63 TYPO3 4.x Fragen und Probleme 3 01.11.06 16:05


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:29 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS