LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2004, 12:50 AM   #1
joeyta
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Can't config mod_deflate on apache2


I am trying to config mod_deflate on Apache 2.0.45.

The Procedure on the below:
step1:
Code:
/usr/local/apache2/bin/apxs -i -c /home/gma/httpd-2.0.45/modules/filters/mod_deflate.c
step2:
Comment "CustomLog logs/access_log common" and instead by "CustomLog logs/deflate_log deflate" in httpd.conf

step3:
Insert the following code in httpd.conf:
Code:
LoadModule deflate_module modules/mod_deflate.so
DeflateFilterNote ratio
LogFormat '"%v %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" (%{ratio}n)' deflate
LogFormat '"%v %h %l %u %t "%r" %>s %b "%{ Referer }i" "%{ User-Agent }i"" (%{ ratio }n)' deflate
<Location />
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch MSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
</Location>
when i restart apache and return the error from server on the below:
Code:
Syntax error on line 1084 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_deflate.so into server: /usr/local/apa
che2/modules/mod_deflate.so: Undefined symbol "deflate"
Can anyone help me to solve this problem?

Last edited by joeyta; 10-21-2004 at 12:52 AM.
 
Old 10-21-2004, 06:14 PM   #2
joeyta
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
No body can help me?
 
Old 02-18-2005, 03:58 PM   #3
Dilireus
LQ Newbie
 
Registered: Oct 2003
Location: Washington, DC
Distribution: Mandrake 9.1
Posts: 3

Rep: Reputation: 0
I've been having the same problem for months. Have not been able to get mod_deflate to work at all on any distro of linux (Red Hat, Mandrake, Debian) - not that I believe this is related to the distro. I am getting that same error message:

Code:
Syntax error on line 1084 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_deflate.so into server: /usr/local/apache2/modules/mod_deflate.so: Undefined symbol "deflate"
Have tried various versions of Apache (2.0.46-2.0.52) and zlib 1.1.4-1.2.1.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 Config Help - No Idea YaAqoB Linux - Software 2 08-17-2005 02:47 AM
where is the apache2 config file dev_mohamed Linux - Software 2 06-20-2005 08:21 PM
Apache2 SSL Config problem Xixulon Linux - Software 1 10-19-2004 04:11 PM
Apache2 + SuSE 9.1 + FTP = how to config? spankmeister7 Linux - Software 0 07-25-2004 06:46 PM
Apache2 config errors.. SiGmA_X Linux - Software 0 06-17-2003 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration