[Typo3-dev] Bug in .htaccess?

Andreas Schwarzkopf a.schwarzkopf at meinsystem.de
Thu Apr 29 16:26:45 CEST 2004


Hi Michael,

Michael Stucki schrieb:

> --- cut ---
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
> RewriteRule .* index.php [L]
> --- cut ---
> 
> Btw, I think it would be better if we removed the [L] tag (it's not needed
> anymore) plus modify the RewriteRule to make sure that it only rewrites
> *.html, *.pdf, etc. (can be changed, of course):
> 
> --- cut ---
> RewriteRule .*\.(html|pdf)$ index.php
> --- cut ---

both versions work. The problem was
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}

grtx

Andreas




More information about the TYPO3-dev mailing list