December, 2010Archive for

.htaccess not working on apache web server

Q: I already enabled mod_rewrite in httpd.conf file on apache server, but .htaccess configuration is not working at all. How can i fix this problem? A: Make sure AccessFileName set to .htaccess Search httpd.conf for AccessFileName directive. It defines name of the distributed configuration file: Make sure users are allowed to use .htaccess file What you can put in these files is determined by the AllowOverride directive. This directive specifies, in categories, what directives will be...