how can I change the default path for Apache configuration files?

advertisements

Does anyone know, how to change(or reinstall) default path for apache configuration files?

configuration file in

...

/etc/apache2/apache2.conf

/etc/apache2/httpd.conf

....

or something else

i'm working on ubuntu linux 13.04 with apt-get installed.


All the configurations files are read by Apache when apache starts. Thus you can store your configuration files in sites-enabled/ and apache will read all the configuration files from there.

You can also append the following line in /etc/apache/apache2.conf: Include /home/user/directory-for-conf