How to Test .htaccess Files

A quick way to find out if your server is reading your .htaccess files is to type “test” or any text into it. If the .htaccess file is being used – you will get a server error when you reload a page on that site. If you do not get an error – you most likely need to adjust your AllowOveride directive so it does not use “None”.

Related Posts

7 Responses to “How to Test .htaccess Files”

  1. Doug says:

    Why would it not be working? Perhaps you need to invest in a quality web hosting product like Mac OS X Server.

  2. If we could all be so lucky to have more OS X Server in our lives…

    • AtomWorks says:

      Are you guys being sarcastic because I’m dealing with an OS X Server at the moment and its default setup is more then a little problematic for CMS systems.

      • I am so sarcastic when it comes to OS X Server. I actually prefer to use Mac OS X when I had Xserves. The cost is too much for the added “admin” features with OS X Server…and I am sure you heard “it will be fixed in the next version” a few times.

  3. jeremiah says:

    you should finish this article by saing “If you get no server error page, you don’t have htaccess support on your web hoster.”

  4. hi, is there anywhere on the WEB htaccess test online?

  5. jack fisher says:

    if the .htaccess file not working your entry page should show error ? no ?
    whyelse would you wan to test your file ??
    some additional lines may be for cache , gzip and other commands
    best regards

Leave a Reply