Apache module list not displaying properly

Good Morning, Interworx dudes,

In an effort to disable a few of the Apache modules that we won’t be using on one of our shared servers, I’ve run into a bit of an issue.

Starting small, I disabled the dav and dav_fs module as I knew we wouldn’t be needing them. Upon disabling them, the entire list of modules disappeared.

Checking httpd.conf, all the configuration directives are still there, and dav and dav_fs are commented out, which makes sense. Any thoughts on how to get this list back?

It’s purely cosmetic, as I can naturally edit httpd.conf to my heart’s content.

Cheers,
Mike

Hi Mike,

Can you check the permissions on the /etc/httpd/conf/httpd.conf file? It should be root/iworx owned/grouped and chmod’d to 644.

Thanks,
Socheat

Socheat,

Ah! It wasn’t!

[root@vhost2 ~]# ls -l /etc/httpd/conf/httpd.conf
-rw------- 1 root iworx 36672 May 25 10:03 /etc/httpd/conf/httpd.conf
[root@vhost2 ~]# chmod 644 /etc/httpd/conf/httpd.conf
[root@vhost2 ~]# ls -l /etc/httpd/conf/httpd.conf
-rw-r–r-- 1 root iworx 36672 May 25 10:03 /etc/httpd/conf/httpd.conf

All is well now. Thanks for the protip. Not quite sure how that could have happened, but I’ll keep it in mind.

Cheers,
Mike

Glad to be of service. :slight_smile:

It happens sometimes when you edit the HTTPd conf in nodeworx. Not every time though… At least that’s my experience.