PDA

View Full Version : Hmmm... Apache doesn't need THIS, does it?


9
01-22-2002, 08:01 PM
I discovered recently that after the update to X.1.2 , Apache would not start in the GUI anymore. No error, but when I pressed the Start button, it just sat there "Starting..." for all eternity, and apache never actually ran.

I tried to run it from the command line and got the error: dyld: httpd Undefined symbols: _apple_hfs_module

Seeing this I decided to glance through the httpd.conf file, and commented out 'LoadModule apple_hfs_module' and 'AddModule mod_hfs_apple.c' with a # sign. Now Apache runs beutifully.

The question I have now is: Does apache need this module for any reason? What does it do?

Any help you can offer would be great. Thanks.

fireproof
01-22-2002, 10:07 PM
According to an article on Stepwise (http://www.stepwise.com/Articles/Technical/2001-09-29-01.html)

http://www.stepwise.com/Articles/Technical/2001-09-29-01.html

that module helps prevent some security issues related to HFS+ case insensitivity. What you need to do is search for the instance of apple_hfs_module and replace it with hfs_apple_module.

sudo perl -i.prefix -p -e 's/apple_hfs_module/hfs_apple_module/g' /etc/httpd/httpd.conf


Just disabling it leaves you with some security problems!

9
01-23-2002, 04:02 AM
Thank you! I'll have to take care of that as soon as possible.