Mobile app version of vmapp.org
Login or Join
Reiling115

: Location of httpd.conf file I have setup a home server on my PC and I can edit my httpd.conf file on it. When I move to my web server I can't see the location of my httpd.conf file.

@Reiling115

Posted in: #Apache #Apache2 #HttpdConf

I have setup a home server on my PC and I can edit my httpd.conf file on it.

When I move to my web server I can't see the location of my httpd.conf file. Is it in the www directory of the website?

I have checked everywhere on the Internet and I didn't find a good answer for the location of the httpd.conf file. Hope you guys can help me solve this problem.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

2 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

There is no 'proper' location for any config file on a unix system. It can be anywhere the system admin wants to put it.

There are conventions - like putting the base config file in /etc/ - but they are just that: conventions. It may make sense in some web hosting environments to cather all the config files in each user's folder, or one common folder for the cpanel system.

Fastest way to find out is contact your provider's support desk - it is a common question, they will know.

10% popularity Vote Up Vote Down


 

@Alves908

For Linux, it is in either /etc/apache2/ or /etc/local/apache2/.

For Windows, it is in C:Program FilesApache Software FoundationApache?.?conf where ?.? is the version number.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme