.htaccess not working with CentOS

May 29, 2015 1.1k views
Apache CentOS

I have added to /etc/httpd/conf/httpd.conf the following lanes:

<Directory /home/admin/web/default.domain/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

then restarted httpd service

but still my .htaccess has no effect on my website. What it could be? I am using VestaCP

1 Answer

Hey there,

For VestaCP installed on CentOS, the Apache configuration file you're looking for is:


Happy coding,

Jon Schwenn
Platform Support Specialist

Have another answer? Share your knowledge.