Where is httpd.conf file of a domain? (Plesk, Apache, CentOS, Dedicated Server.)

user1055645 picture user1055645 · Feb 12, 2012 · Viewed 21.4k times · Source

I'm trying to disable access logging (access_log) for domains. I can't find a way to do it yet, I thought if httpd.conf file exist of a domain maybe I can look into that. So do you know where is httpd.conf file of a domain?

Answer

Pekka picture Pekka · Feb 12, 2012

Try

locate httpd.conf 

on the commend line. Note that in newer Apache setups, the configuration is spread across multiple files, but they won't be far from where you find httpd.conf.