Issue Bug Closed

#23173Code for rewrite rules for .htaccess cannot be formatted (but would have to be!)

André Spindler 07/14/10, 02:00 updated 03/29/11, 14:24

Description

In the installtool, the code example for .htaccess causes server crash.

Wrong:
RewriteCond %{REQUEST_FILENAME} !-f – RewriteCond %{REQUEST_FILENAME} !-d – RewriteRule ^(.)\.(\d)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]

Right:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.)\.(\d)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]

(There are too mush dashes)
But this doesn’t work anyway…

(issue imported from #M15108)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.