ich hab mal wieder ein Problem mit dem Schicken Lighty.
Leider bekomm ich die Rewrite rules für Typo3 nicht so umgeschrieben das das Chaching funktioniert.
Orginal
Code: Select all
RewriteEngine On
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic.php|favicon.ico)/ - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
# beginning of static file cache ruleset
# Don't pull *.xml, *.css etc. from the cache
RewriteCond %{REQUEST_FILENAME} !^.*.xml$
RewriteCond %{REQUEST_FILENAME} !^.*.css$
# Check for Ctrl Shift reload
RewriteCond %{HTTP:Pragma} !no-cache
RewriteCond %{HTTP:Cache-Control} !no-cache
RewriteCond %{HTTP_COOKIE} !be_typo_user [NC]
RewriteCond %{HTTP_COOKIE} !nc_staticfilecache [NC]
# We only redirect GET requests
RewriteCond %{REQUEST_METHOD} GET
# We only redirect URI's without query strings
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{DOCUMENT_ROOT}/typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html -f
RewriteRule .* typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html [L]
# end of static file cache ruleset
#------------------------------------------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
RewriteRule ^typo3$ /typo3/index_re.php
RewriteRule ^[^/]*.html$ index.php
RewriteRule ^[^/]*.pdf$ index.php
soweit hab ich das schon im netzt gefunden
Code: Select all
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
Code: Select all
url.rewrite-once = (
"^/(typo3|typo3temp/|typo3conf/|uploads/|fileadmin/|t3lib/|robots.txt|clear.gif).*$"
=> "$0",
"^/$" => "index.php",
"^/index.php?.*$" => "$0",
"^typo3$" => "typo3/index_re.php",
".?([^.]+)" => "index.php?$1",
"^/favicon.ico$" => "$0",
".*" => "index.php"
)
Hoffe mir kann da jemand helfen