Article ID: 124, created on Oct 6, 2008, last review on Oct 16, 2016

  • Applies to:
  • Plesk for Linux/Unix


The rules defined in .htaccess files are ignored.


.htaccess files support is not enabled.


To enable .htaccess files support, create *.conf file in /etc/httpd/conf.d/ with the following content:

AccessFileName .htaccess

 <Directory "/var/www/vhosts">
 Options +All
 AllowOverride All
 Order allow,deny
 Allow from all

Then, restart Apache:

# service httpd restart

Please note that in Debian and Ubuntu the service is named "apache2" instead of "httpd" and the path is /etc/apache2/conf.d/, instead of /etc/httpd/conf.d/.

Search Words

php .htaccess


.htaccess ignored

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF