The Fubra Blog

.htaccess vs httpd.conf

Posted Monday 7th January 2008 by Dawid Golunski

If you are an Apache user you will have certainly heard about the two different ways to make configuration changes to Apache server. The first one is to make changes directly inside the main configuration file (i.e httpd.conf) and the second is to use .htaccess files. The second method allows us to make configuration changes on a per-directory basis.

There are some general opinions that tell you to never use .htaccess files on your web server, putting all the options in the main configuration file.

Read the rest of this entry »