Mobile app version of vmapp.org
Login or Join
Reiling115

: Does every webserver have an httpd.conf file? I have spent my whole day finding the location of the httpd.conf file for my website. I contacted my host and they told me they didn't give us

@Reiling115

Posted in: #HttpdConf #Server

I have spent my whole day finding the location of the httpd.conf file for my website. I contacted my host and they told me they didn't give us permission to modify the httpd.conf file.

Some webservers gives the permission to edit and find the httpd.conf file on their servers via ssh.

My question is that does every webserver have an httpd.conf file in their directory?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shelley277

httpd.conf is available only if you have Apache as the web server. Nginx and LiteSpeed have their own configuration files and names.

On cPanel servers it is under the /usr directory, whereas on plain servers with Linux distros, it is under the /etc directory.

10% popularity Vote Up Vote Down


 

@Radia820

Not all servers use httpd.conf, but all have some type of configuration file. If you're using apache, the httpd.conf configurations can be overriden through .htaccess file in the root web directory unless overrides are turned off in httpd.conf

See: httpd.apache.org/docs/2.2/howto/htaccess.html

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme