[TYPO3-core] RFC #5020: Use better rewrite rules in .htaccess
Philipp Gampe
phil at philippgampe.info
Sat Jun 19 10:52:30 CEST 2010
Am 19.06.2010, 10:30 Uhr, schrieb Michiel Roos [netcreators]
<michiel at netcreators.com>:
> <IfModule mod_rewrite.c>
> RewriteEngine On
>
> # Do not rewrite static resources
> RewriteCond %{REQUEST_FILENAME} -f [OR]
> RewriteCond %{REQUEST_FILENAME} -d [OR]
> RewriteCond %{REQUEST_FILENAME} -l
> RewriteRule .* - [L]
>
> # Rewrite the rest to index.php
> RewriteRule .* /index.php [L]
> </IfModule>
> -
what about compression? The file versioning?
I miss a replacement for this line:
RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]
Best regards
--
Philipp Gampe
More information about the TYPO3-team-core
mailing list