logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: AddOutputFilterByType is out of Apache 2.4
Author
daniel1975



Joined: 05 Feb 2006
Posts: 24
Location: RO, Lugoj

PostPosted: Wed 25 Jan '12 20:45    Post subject: AddOutputFilterByType is out of Apache 2.4 Reply with quote

Although I have "LoadModule deflate_module modules/mod_deflate.so" line added the next: "AddOutputFilterByType DEFLATE application/atom+xml application/ecmascript application/javascript application/rtf application/xhtml+xml application/xml text/html text/plain text/css text/csv" causes "The Apache service named reported the following error:
>>> Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration ." in Event Viewer so kind of conclude that AddOutputFilterByType directive is no longer supported and there must be other ways to have similar behavior
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Wed 25 Jan '12 21:41    Post subject: Reply with quote

Maybe you need mod_filter, see:

http://httpd.apache.org/docs/2.3/mod/mod_filter.html#addoutputfilterbytype
Back to top
daniel1975



Joined: 05 Feb 2006
Posts: 24
Location: RO, Lugoj

PostPosted: Wed 25 Jan '12 21:49    Post subject: Reply with quote

Steffen wrote:
Maybe you need mod_filter, see:

http://httpd.apache.org/docs/2.3/mod/mod_filter.html#addoutputfilterbytype


Indeed mod_filter is also required in 2.4, although in 2.2 was not the case.
Many, many thanks!
Back to top


Reply to topic   Topic: AddOutputFilterByType is out of Apache 2.4 View previous topic :: View next topic
Post new topic   Forum Index -> Apache