Jump to content

[SOLVED] .httacess in www directory


Recommended Posts

Have you enabled .htaccess support within the httpd.conf? .htaccess files wont work by default. You have to configure Apache to use .htaccess files by setting up the AllowOverride directive within the httpd.conf.

 

Got to Apaches main <Directory></Directory> directive within the httpd.conf and look for the following lines:

#
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None

 

Change AllowOverride None to AllowOverride All

 

Save the httpd.conf and restart Apache. Apache should now be reading your .htaccess files.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.