Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Enable mod_gzip for Apache' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable mod_gzip for Apache
Authored by: mustang_dvs on Jul 16, '03 03:25:01AM

Made the modifications to the sourceforge files that the page notes and it resulted in three odd things that broke Apache when attempting to add this to OS X Server 10.2.6:

  1. httpd_macosxserver.conf & .conf.bak had their permissions changes to -rw------- from -rw-r--r--

  2. the LoadModule call in /etc/httpd/httpd.conf looks for the source code in /library/WebServer/libexec/httpd/ (which does not exist) rather than /usr/libexec/httpd/, where the source is placed

  3. regardless, a configtest ends up reporting: Cannot load /usr/libexec/httpd/mod_gzip.so into server: (reason unknown) ... the source is there and has the correct permissions, but I am unsure as to what is happening.

Anyone have any suggestions? (Other than typing "mv httpd.conf.bak httpd.conf" into the terminal.)



[ Reply to This | # ]
Enable mod_gzip for Apache
Authored by: andy2307 on Jul 16, '03 05:56:45AM

I am having the same problem as this - any help would be really appreciated.

Again all source files are avaiable with the correct permissions set.

Thanks in advance.



[ Reply to This | # ]
Enable mod_gzip for Apache
Authored by: andy2307 on Jul 16, '03 06:06:00AM

Ok so I think I have fixed it - this solution works on my Server install anyway.

In the httpd.conf file, I have changed the line that states

LoadModule gzip_module libexec/httpd/mod_gzip.so

with

LoadModule gzip_module /usr/libexec/httpd/mod_gzip.so

and the module now loads correctly.

Hope this helps someone else.



[ Reply to This | # ]
Enable mod_gzip for Apache
Authored by: mustang_dvs on Jul 16, '03 03:19:43PM
andy,

Thanks for the advice, but I already fixed that before posting (10.2 Server sets the ServerRoot to /Library/WebServer/ which isn't "normal" in other Apache configs, but changing it causes OS X fits)

I'm still just scratching my head trying to figure out what I've missed...



[ Reply to This | # ]