MacOS – What Is The Path Where Apache Is Located

apachemac-minimacososx-server

When I check logs (Apache, Ruby on Rails) it appears that my development Mac Mini Server is being scanned. I would like to install mod_security. I'm currently running the latest version of Mavericks but plan to install Yosemite within couple of days. I use Apache 2.2.26.

Where are the Apache modules located on the Mac Mini Server in Mavericks and Yosemite?

If there is a better way to protect my service, such as turning on the Firewall in System Preferences, I'm open to that. I just don't know enough about how to set that up where I can do what I normally do and add my websites to it.

Best Answer

The default location is:

/usr/libexec/apache2/