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

Ernesto Baschny [cron IT] ernst at cron-it.de
Wed Nov 17 12:45:53 CET 2010


Hi,

thanks for the nice work!

Committed v3 to trunk rev. 9445.

Also updated NEWS.txt highlighting this change.

Cheers,
Ernesto

Christopher Stelmaszyk schrieb am 16.11.2010 21:50:
> 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