Project

General

Profile

Actions

Bug #19565

closed

Ship optimal TYPO3 configuration by default

Added by Dmitry Dulepov over 15 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2008-11-04
Due date:
% Done:

0%

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

Description

By default TYPO3 comes with unoptimal configuration due to the bugfix #16971. It is time to change it to optimal. If some installation disable mod_rewrite, it is not a reason to ship badly optimized installation to the rest of the world.

To make optimal configuration, rename the following files from _.htaccess to .htaccess in the TYPO3 core:

./typo3/contrib/_.htaccess
./typo3/gfx/_.htaccess
./typo3/mod/user/ws/_.htaccess
./typo3/sysext/_.htaccess
./typo3/sysext/t3skin/stylesheets/_.htaccess

(issue imported from #M9729)


Files

typo3-tweaks.conf (3.81 KB) typo3-tweaks.conf Administrator Admin, 2009-01-15 10:31
typo3-rewrite-staticfilecache.conf (2.89 KB) typo3-rewrite-staticfilecache.conf Administrator Admin, 2009-01-15 10:31

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #19564: Improve performance of Prototype, Scriptaculous, ExtJS and other contributed scriptsClosedDmitry Dulepov2008-11-04

Actions
Related to TYPO3 Core - Bug #16971: .htacces in sysext fails in some apache configurationClosedDmitry Dulepov2007-02-10

Actions
Related to TYPO3 Core - Bug #19376: Loading the backend takes more than 70 HTTP requestsClosedSteffen Kamper2008-09-25

Actions
Actions #1

Updated by Michiel Roos over 15 years ago

Inform users of TYPO3! . .

http://httpd.apache.org/docs/2.2/howto/htaccess.html#when

. . . that reading of .htaccess files is slow. Apache needs to traverse the complete file tree from the request path up to the web root to see if there are any .htaccess files present. If there are it needs to read all of them.

You can disable .htaccess files in Apache config:
AllowOverride None

Please find my configs for inclusion in my vhosts attached.

There is one for replacement of the .htaccess files and one for rewrite rules.

All the configs are wrapped in <IfModule>.

Just my 2 cents

:-)

Actions #2

Updated by Michiel Roos over 15 years ago

Just remember that mnogosearch may expect certain things set up a bit differently from this config.

I cannot remember what though.

Also, the static file cache config can be taken out of the rewrite file.

Actions #3

Updated by Dmitry Dulepov over 15 years ago

<q>
that reading of .htaccess files is slow. Apache needs to traverse the complete file tree from the request path up to the web root to see if there are any .htaccess files present. If there are it needs to read all of them.
</q>
Did you make measures? These files will be in the file system cache, so they will not be read every time. Even if they were, network delays are much longer than file reading.

Actions #4

Updated by Henrik Ziegenhain over 14 years ago

I think this issue could be closed.
4.3.x is shipped with the correctly named .htaccess files.

Actions #5

Updated by Christian Kuhn over 14 years ago

Resolved, fixed.

This was committed by Dmitry with revision 5027

Actions

Also available in: Atom PDF