1
votes

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.

2

2 Answers

1
votes

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

0
votes

I think what you are after is the -f flag that let you specify a main configuration file at startup. It's explained in detail in Starting Apache document section.

Hope it helps.