You are not logged in.
anyone have mod_delate compiled/working with arch apache?
Is there something else I should use?
If I remember correctly, mod_gz used to be for apache1.3..
I don't know what to use for apache2.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
You're probably right
http://www.apache.org/~rbowen/presentat … ide35.html
But look at this: http://freshmeat.net/projects/mod_gzip/ (in the comments below there are links to mod_gzip port for apache2 - I've never tried it though).
Let me know what you will find.
I'll soon be more interested in this too :-)
I've just found another useful link:
http://www.webperformance.org/compression/
Offline
i believe mod_deflate might be what your looking for.
i had a fedora 2 install laying around with apache 2 and just stole it's mod_deflate.so.
so far as i can tell it works fine.
Offline
I used this all the time with Gentoo. But I can't seem to get it working or even find it now with Arch. It doesn't seem to come with apache and isn't in pacmanable.
Is pacmanable a word? It is now.
Offline
yeah, you can either rebuild in in abs and update the pkgbuild to compile apache with the --enable-deflate option, or go grap the source and rebuild it.
i woudl _love_ to see it as a default module though ;-)
Offline
yeah, you can either rebuild in in abs and update the pkgbuild to compile apache with the --enable-deflate option, or go grap the source and rebuild it.
i woudl _love_ to see it as a default module though ;-)
I second making it a default module. I don't want to rebuild apache every time it is updated. I also don't want to miss seeing pacman update it and not know howe my system is working.
I don't have a flyspray account. Do you? If so, you should file a bug under both our behalves.
EDIT:
I looked at the PKGBUILD and this is the the configure line
./configure --prefix=/usr --enable-layout=RedHat --datadir=/home/httpd
--enable-modules=all --enable-mods-shared=all --enable-ssl --enable-so
--enable-proxy --enable-proxy-connect --enable-proxy-ftp
--enable-proxy-http --enable-suexec
I would think that --enable-modules=all would mean -- enable mod_deflate . . . am I wrong?
EDIT 2: (Sorry)
I found this at this page
Compile and Enable mod_deflate
mod_deflate is included in the Apache 2.0.x source package. Its compilation it is a simple matter of adding it to the configure command, like this:
./configure --enable-modules=all --enable-mods-shared=all
--enable-deflateWhen the server is made and installed, the GZIP-encoding of documents is easily enabled. We simply add three lines to the httpd.conf file:
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$
no-gzip dont-vary
SetEnvIfNoCase Request_URI .pdf$ no-gzip dont-vary
Offline
Hey Guys,
If you search /etc/httpd/conf/httpd.conf you will find that mod_deflate.so is actually being loaded as standard.
It's module name is deflate_module...
anyways, to get it to work all you need to do is make sure that the following lines are in your config and restart apache...
The LoadModule lines will be there as standard!!
So don't put them in twice if they are already there....
LoadModule deflate_module module/mod_deflate.so
LoadModule headers_module module/mod_headers.so
<IfModule deflate_module>
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|rar|zip|pdf)$ no-gzip dont-v
<IfModule headers_module>
Header append Vary User-Agent
</IfModule>
</IfModule>
LOL Just realised the original post is from ages ago....
Last edited by perdar (2010-04-28 07:45:10)
Offline