Hallo,
ich versuche vergeblich, RealURL in Typo 3 4.0 auf einem Apache 1.3 Server zum laufen zu bringen.
Ich habe die Extension und einen RealURL Manager installiert. Im Main template habe ich eingefügt:
config.simulateStaticDocuments = 0
config.baseURL = /
config.tx_realurl_enable = 1
baseURL habe ich nicht =1 gesetzt, wie in der Extension Doku beschrieben, da dann eine Fehlermeldung erscheint.
Nun ist die Frage, wie ich die .htaccess einstellen muss, Typo3 ist im www-Root installiert. Dort sind widersprüchliche Realurl-Kommentare zu lesen:
RewriteEngine On
# 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 /
# 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 ^/typo3$ /typo3/index.php [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
#RewriteRule ^/typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-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]
Wie lautet nun die richtige Konfiguration? Bei Aufruf im Frontend wird nur ab und zu etwas angezeigt, meistens ohne Bilder.