Jennifer Zelazny October 22, 2008 13 Comments 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”. Tagged: .htaccess, Apache 13 thoughts on “How to Test .htaccess Files” October 22nd, 2008 Doug Why would it not be working? Perhaps you need to invest in a quality web hosting product like Mac OS X Server. Reply October 22nd, 2008 Jennifer Zelazny If we could all be so lucky to have more OS X Server in our lives… Reply November 23rd, 2009 AtomWorks 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. Reply December 1st, 2009 Jennifer Zelazny 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. Reply December 6th, 2009 jeremiah you should finish this article by saing “If you get no server error page, you don’t have htaccess support on your web hoster.” Reply January 29th, 2010 meble biurowe hi, is there anywhere on the WEB htaccess test online? Reply May 30th, 2010 jack fisher 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 Reply February 5th, 2012 Webteam Asia I had recently added some “deny” access restrictions on one of my websites’ .htaccess, Is there any way to test and see if it’s working? -Edward Reply September 14th, 2012 Mat TO TEST TO SEE IF YOU HAVE .htaccess ENABLED ON YOUR SERVER a.) add the following line of code to your .htaccess file redirect 301 /filename.html http://www.zioncrimefactory.com b.) create an empty filename.html file c.) upload .htaccess and filename.html files to your doc root d.) point your browser at http://www.YOURdomainNAME.com/filename.html e.) check result… if you have .htaccess enabled on your server, hey presto, you will be redirected to the truth good luck Reply September 23rd, 2012 Dikaio How in the world does an OSX Server have anything to do with a .htaccess file? Ubuntu/OSX both have apache with a default install and both need you to modify the config files to get .htaccess to work. Reply October 8th, 2012 Jen Mac OS X Server is just one option to use for running a web server and I made mention of it. Reply November 15th, 2012 Lime Mortar Supplier I came across a testing site which you can use http://htaccess.madewithlove.be/ I had to create re-write rules because I had SSL pages indexed in Google as well as sort and filter dynamically generated URI’s. Combined with link canonicalisation and 2x robots (1 cloaked for SSL) I hope it is now sorted! Reply November 10th, 2013 wajid thats a nice post you effort for this thanks for this one i want to test my site htaceesss file weather it is workiing of not Reply Leave a Reply Cancel ReplyYour email address will not be published. Comment Name * Email * Web site Notify me of follow-up comments by email. Notify me of new posts by email. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.