May 15th, 2010 |
Search |
0 views |

Tutorial Introduction Tutorial written and contributed by Feyd, moderator of the JK Forum and JavascriptKit. Please see tutorial footnote for additional/bio info on author. I am sure that most of you have heard of htaccess, if just vaguely, and that you may think you have a fair idea of what can be done with an htaccess file. You are more than likely mistaken about that, however. Regardless, even if you have never heard of htaccess and what it can do for you, the intention of this tutorial is to get you two moving along nicely together.

Contents 1/Introduction to .htaccess files 2/FileTypes 3/Handlers 4/URL Rewriting 5/User Authentication 6/Host-based Access Control 7/Directory IndexingIntroduction to .htaccess files Your Web directory and its subdirectories can contain per-directory configuration files called .htaccess files. Whenever Stronghold (our Web server) receives a request for a file, it first looks for a file called .htaccess in that directory and its parent directories. If one is present, Stronghold considers the configuration directives within it before responding to the request. A .htaccess file works like this: