Project

General

Profile

Actions

Bug #23173

closed

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

Added by André Spindler over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-07-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

T3InstallTool_htaccess_error_text.gif (5.58 KB) T3InstallTool_htaccess_error_text.gif Administrator Admin, 2010-08-01 19:28
htaccess.diff (1.03 KB) htaccess.diff Administrator Admin, 2010-08-17 10:04
bug15108_v1.patch (6.64 KB) bug15108_v1.patch Administrator Admin, 2010-08-17 15:49
bug15108_v2.patch (6.7 KB) bug15108_v2.patch Administrator Admin, 2010-08-17 16:05
bug15108_v3.patch (8.15 KB) bug15108_v3.patch Administrator Admin, 2010-08-19 11:58

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #23408: Install Tool, "All Configuration": Description of settings should allow HTML markup for readabilityClosedErnesto Baschny2010-08-19

Actions
Related to TYPO3 Core - Bug #17009: default .htaccess file does not rewrite correctlyClosedMichael Stucki2007-02-19

Actions
Actions

Also available in: Atom PDF