Solved Apache24 - obsolete modules?

Mayhem30

Well-Known Member

Reaction score: 19
Messages: 380

I found a couple of modules for www/apache24 in my config file and I can't figure out if they are obsolete or not.
Code:
LoadModule unixd_module libexec/apache24/mod_unixd.so
LoadModule log_config_module libexec/apache24/mod_log_config.so
When I do a make config in the www/apache24 directory, these are not listed as even a possible option to enable.

Any ideas if these modules are needed - and more importantly, what determines if these are added/enabled in my httpd.conf file?
 

ShelLuser

Son of Beastie

Reaction score: 1,693
Messages: 3,512

When in doubt check the manual. There are several (core) modules which are mandatory for the regular operation of the server, as such you can't select them from the configuration because removing them would effectively break your server.

mod_unixd is required because it provides security features for "Unix-family platforms".
mod_log_config can be safely removed but then the server will also stop logging requests.

Check the links for more information.

But yeah: every module is documented in the manual, so if you need to know about some then that's the place to turn to.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,182
Messages: 29,471

If your httpd.conf has been around for a couple of updates/upgrades it pays to have a look at the httpd.conf.sample and compare the differences. Installation or upgrades of ports/packages never update configuration files if they've been modified locally.
 
Top