Zum Inhalt springen

Fehler 500 bei relURL

Erstellt am 13. Juli 2011 · Noch keine Antworten

Tags: RealURL, Frage

burn4ever ·

Hallo,
ich habe realURL installiert. Und erhalte aber bei anwählen eines Links FEHLER 500.
Typo3 version 4.5.3
Typoscript im Setup sieht so aus:

config.tx_realurl_enable = 1

Die .htaccess habe ich standartmässig wie sie bei der Typoinstalltion erzeugt wird belassen.

### Begin: Settings for mod_rewrite ###

# You need rewriting, if you use a URL-Rewriting extension (RealURL, CoolUri, SimulateStatic).

<IfModule mod_rewrite.c>

# Enable URL rewriting
RewriteEngine On

# Change this path, if your TYPO3 installation is located in a subdirectory of the website root.
#RewriteBase /website

# Rule for versioned static files, configured through:
# - $TYPO3_CONF_VARS['BE']['versionNumberInFilename']
# - $TYPO3_CONF_VARS['FE']['versionNumberInFilename']
# IMPORTANT: This rule has to be the very first RewriteCond in order to work!
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]

# 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/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]
RewriteRule ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]

# Redirect http://example.com/typo3 to http://example.com/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.
# For httpd.conf, you need to prefix each '%{REQUEST_FILENAME}' with '%{DOCUMENT_ROOT}'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

# Main URL rewriting.
# For httpd.conf, use this line instead of the next one:
#RewriteRule .* /website/index.php [L]
RewriteRule .* index.php [L]
#RewriteRule !index\.php - [C]
#RewriteRule ^ /index.php

</IfModule>

### End: Settings for mod_rewrite ###

Was ich feststellen konnte ist das wenn ich anstelle:
RewriteRule .* index.php [L]

folgendes schreibe:

RewriteRule !index\.php - [C]
RewriteRule ^ /index.php

er auf die gewünschten Seiten geht allerdings meine stylesheets (css) nicht greifen, bzw das Template nicht angezeigt wird.Menüstrucktur und Inhaltselemente werden angezeigt.

Muss ich evtl. die .htaccess so anpassen wie es hier bei 1&1 beschrieben wird????
Hier der Link