I can't figure out why any of the commands I set in an .htaccess file aren't working. I have confirmed that the following exist and are not commented out in httpd.conf:

LoadModule rewrite_module modules/mod_rewrite.so
AccessFileName .htaccess

Am I missing something?

    What's the value of the AllowOverride Apache directive for the given <Directory> tag (e.g. the website's root) where you're trying to use a .htaccess file?

      also not all 'commands' that work in .htaccess on one set up will work on another. So it may be due to what your trying to do.

        AllowOverride was set to None, that's what I missed. Thanks!

          Write a Reply...