HAT SICH ERLEDIGT. Es lag einzig und allein daran, dass die htaccess _.htaccess hiess. SIE MUSS aber nur .htaccess heissen (ohne _)...man man, wie soll man darauf kommen! #angry#
Hallo,
ich bekomme meine Seite mit RealUrl einfach nicht zum laufen.
Die Links im Menü werden schon korrekt angezeigt.
Zum Beispiel: http://www.meineSite.de/home.html
Doch leider erhalte ich bei Auswahl nur den "Seite nicht gefunden"-404 Error.
Mein Typoscript:
# REALURL Configuration
config.simulateStaticDocuments_replacementChar = _
config.simulateStaticDocuments = 0
config.baseURL = www.meineSite.de/
config.tx_realurl_enable =1
Oder liegt der Fehler an der htaccess?
Achja, die _.htaccess liegt bei mir im htdocs, also im selben Ordner wie die Ordner wie typo3conf und typo3_src. Quasi nicht im selben Ordner wie die index.php? Muss ich deshalb was beachten?
Hier ein Auszug aus meiner htaccess:
# 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|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [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]
# 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]
### End: Rewrite stuff ###
# Add your own rules here
# REALURL
RewriteEngine On
RewriteBase /
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
Achja...ich benutze die neuste RealURL-Version 1.10 und Typo3 4.0
Vielen Dank für die Hilfe!
xai