Hallo,
Habe Realurl laufen und funktioniert soweit auch.
Habe folgendes im htaccess -File
################
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteRule ^uploads/.*$ - [L]
RewriteRule ^fileadmin/.*$ - [L]
RewriteRule ^typo3conf/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*[^/])$ http://%{HTTP_HOST}/$1/ [L,R]
RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule / %{REQUEST_URI}/index.html [L]
RewriteCond %{REQUEST_FILENAME}/index.htm -f
RewriteRule / %{REQUEST_URI}/index.htm [L]
RewriteCond %{REQUEST_FILENAME}/index.php -f
RewriteRule / %{REQUEST_URI}/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php
###################
Meine Links sehen wie folgt aus:
www.domain.de/autos/bmw/
Das ist soweit auch ok,
Für die Print-Ausgabe beutzte ich folgendes TS.
#####################################################
#####Print Version#####
# DRUCKEN
temp.PRINT = COA
temp.PRINT {
wrap = <a href="|" name="Drucken" title="Drucken" target="_blank" class="print">Drucken</a>
10 = TEXT
10.data = getIndpEnv:REQUEST_URI
10.listNum.splitChar = .
10.listNum = 0
10.wrap = |print.html
}
[globalString = ENV:REQUEST_URI = *php?id*]
temp.PRINT.10 >
temp.PRINT {
10 = TEXT
10.data = getIndpEnv:REQUEST_URI
10.wrap = |&type=98
}
[GLOBAL]
print = PAGE
print {
typeNum = 98
bodyTag =<body bgcolor="#ffffff" leftmargin="" topmargin="" marginwidth="" marginheight="" onload="javascript:window.print()">
#10 < styles.content.getLeft
20 < styles.content.get
#30 < styles.content.getRight
#40 < styles.content.getBorder
}
nun wird folgende Link erzeugt:
www.domain.de/autos/bmw/print.html/
das ist natürlich falsch.. sollte
www.domain.de/autos/bmw/print.html
sein.
"/" sollte bei "Files" also Dateien sowie bei .html natürlich nicht rangehängt werden.
Im htaccess sorgt ja folgende Befehl für die "/":
RewriteRule (.*[^/])$ http://%{HTTP_HOST}/$1/ [L,R]
Die möchte ich im Prinzip auch so haben nur eben bei print.html nicht.
Wäre toll wenn jemanden helfen kann.
Danke
Gruss