: 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
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?
More posts by @Reiling115
2 Comments
Sorted by latest first Latest Oldest Best
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.
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.