Why is my .htaccess not working?
If you have a VPS or Linux server running Apache the goold old fashioned way without fancy control panels, you’ll quickly have to learn some Apache tweaks.
One of the main issues we commonly run into is a non-working .htaccess file. Apache doesn’t come with .htaccess support automatically turned on. You’ll have to turn it on in order for .htaccess files to have an effect. Here’s what you do:
There are two ways,
- Edit your httpd.conf manually using a text editor like vim, nano, vi, joe whatever you like.
- Edit your httpd.conf through Webmin
Since the Webmin version is more graphical, we’ll show you how to do it through Webmin. If you’re using a text editor, just skip to the portion with the AllowOveride command.
- Login to your Webmin
- Servers>Apache
- Go to the Global Configuration tab
- Click on EDIT CONFIG FILES

- Search for AllowOveride and .htaccess and remove the # sign in front or type “AllowOveride All”.

This should fix it permanently and allow your .htaccess files to override pretty much and directive needed.
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>