How do I enable .htaccess on Apache Server?

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.


35 points

I want to use .htaccess file on my server which is a VPS that is running Apache. How do I enable .htaccess to work?



4 points

Find your http.conf. Search for this line.

AllowOverride None

Change it to as follows and restart the server.
AllowOverride All

Anonymous's picture
Created by Anonymous
7 points

Thanks. It worked.

Anonymous's picture
Created by Anonymous

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.