Apache - .htaccess override

The .htaccess file is the file mostly known to work with Apache Web Server in order to override some apache.conf settings with the settings specified in the file. Apache is a very flexible web server and tries to be ready for every administrator who wants to modify its functionality.

After saying that, you can disable this override, by changing the following settings in apache.conf(ex. Debian-based distributions) or httpd.conf(ex. RedHat-based distributions, CentOS). If you want to enable/disable this override use
DisableEnable
AllowOverride None
AccessFileName .htaccess
AllowOverride All
AccessFileName .htaccess

Comments

Popular Posts