apache_1.3.x_mod_gzip_sample_config
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apache_1.3.x_mod_gzip_sample_config [2009/12/24 00:48] – k2patel | apache_1.3.x_mod_gzip_sample_config [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 58: | Line 58: | ||
| * [[http:// | * [[http:// | ||
| + | ==== Common Errors ==== | ||
| + | |||
| + | == Error No.1 == | ||
| + | |||
| + | |||
| + | <code bash> | ||
| + | [error] mod_gzip: DECHUNK option is OFF in sendfile2 | ||
| + | [error] mod_gzip: Cannot compress chunked response for [GET / | ||
| + | [error] mod_gzip: ** Uncompressed responses that use ' | ||
| + | [error] mod_gzip: ** must be ' | ||
| + | [error] mod_gzip: ** Turn DECHUNK option ON for this response category. | ||
| + | </ | ||
| + | |||
| + | **RESOLUTION :** | ||
| + | |||
| + | Add following line to your settings. | ||
| + | |||
| + | <code apache> | ||
| + | mod_gzip_dechunk Yes | ||
| + | </ | ||
| + | |||
| + | == Error No.2 == | ||
| + | |||
| + | <code bash> | ||
| + | apxs -Wc, | ||
| + | gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208131 -DMOD_PERL -DUSE_PERL_SSI -D_REENTRANT | ||
| + | cc1: error: unrecognized command line option " | ||
| + | | ||
| + | make: *** [build] Erreur 1 | ||
| + | </ | ||
| + | |||
| + | **RESOLUTION :** | ||
| + | |||
| + | change from : | ||
| + | <code bash | Makefile> | ||
| + | $(APXS) -Wc, | ||
| + | </ | ||
| + | |||
| + | to | ||
| + | <code bash | Makefile> | ||
| + | $(APXS) -Wc "-Wall -O3 -fomit-frame-pointer -pipe" -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o mod_gzip.so | ||
| + | </ | ||
apache_1.3.x_mod_gzip_sample_config.1261615697.txt.gz · Last modified: 2020/08/10 02:28 (external edit)
