[TYPO3-core] RFC #11103: Improve advanced_htaccess and make it more compatible

Markus Klein m.klein at mfc-linz.at
Wed Nov 17 12:32:22 CET 2010


+1 by reading and testing.

Maybe there should be an annotation in news.txt that this file has been
vastly improved.

Regards
Markus

> -----Original Message-----
> From: typo3-team-core-bounces at lists.typo3.org [mailto:typo3-team-core-
> bounces at lists.typo3.org] On Behalf Of Christopher Stelmaszyk
> Sent: Tuesday, November 16, 2010 9:50 PM
> To: typo3-team-core at lists.typo3.org
> Subject: Re: [TYPO3-core] RFC #11103: Improve advanced_htaccess and
> make it more compatible
> 
> Hi Steffen,
> 
> "Steffen Gebert" <steffen at steffen-gebert.de> schrieb im Newsbeitrag
> news:mailman.1.1289656346.8997.typo3-team-core at lists.typo3.org...
> >
> >> I reviewed the commenting texts and improved them.
> > I did some more changes, esp. replacing the "you'll have to change" to
> > "you have to change". Proofreading welcome!
> 
> Done. Attached is v3, which also fixes "files" => "lines" as noted by
Markus.
> I also fixed the redirect typo3 => typo3/index_re.php You had changed
that,
> but it fixes the trailing slash problem which is present on older Apache
> versions. There a file instead of a folder is looked for, when the path
ends
> without a slash. This won't work correctly anymore after changing the
line.
> 
> >> I added a section for file compression which is compatible with
> >> Apache 2.x.
> > I'm not sure, why at all: CSS and JS are not covered by mod_gzip, so
> > only HTML remains.
> 
> No, CSS and JS files also are compressed by mod_deflate (which is the one
> used in Apache 2.x). I checked that:
> After adding the rules and making sure that mod_deflate is loaded, the
> Content-Encoding Header is set to gzip. The Content-Length is smaller than
> before.
> In my tests, text files are reduced to about 25% of the original size,
also CSS
> and JS files. :-) Also the code I used for mod_deflate is basically taken
from
> http://httpd.apache.org/docs/2.2/mod/mod_deflate.html
> If they don't know, I don't know either. ;-)
> 
> > Do you have other suggestions, what a TYPO3 user should change?
> I thought of ETags or Expires headers, but both are already in place where
> they make sense.
> So currently: No.
> 
> Kind regards
> 
> Christopher
> 




More information about the TYPO3-team-core mailing list