Apache web servers allow the use of a text file called .htaccess to control certain behaviours within a website. The .htaccess file contains a list of brief instructions which are referred to by the web server prior to responding to a web request.
Introduction to .htaccess .htaccess / General Guides
.Htaccess is a small text file that control configuration aspects of an Apache web server. Most people are familiar with the .htaccess file in relation with the ability to restrict access to a directory via password protection. However, .htaccess can do a lot more than password protection. .Htaccess is an extremely powerful configuration tool that can customize the way your web site behaves and how your web server handles requests.
Introduction .htaccess / General Guides
A text file called .htaccess can be used to control web server (Apache) behavior for your web site. The other sections of this .htaccess tutorial deal with actual commands (called directives) which can be used.
It configures settings for the web server per directory (the one it is placed in) and subdirectories under it.
Information about the .htaccess file .htaccess / General Guides
The .htaccess file is an ordinary text file that you can create using Notepad or any text editor and ftp it into your Web root directory. This file will contain the configuration statements (commands) to customize the Apache Web server software for your Web site.
Popular Web Tricks .htaccess / General Guides
A really cool feature that web designers overlook is the use of the .htaccess file. Simply put, whenever you see a custom error page (404, 403, etc.), use server side includes, restrict IPs, load a default page, or do any host of events invisible to the user, you are probably going to be using .htaccess.
Introduction to .htaccess .htaccess / General Guides
We introduced you to .htaccess and some of its useful features. In this part we will show you how to use the .htaccess file to implement some of these.
.htaccess Guide .htaccess / General Guides
A comprehensive guide to the Apache Web Server's .htaccess configuraiton file. Includes full tutorial covering error documents, password protection, visitor blocking, hot linking prevention techniques and more.
Editing .htaccess .htaccess / General Guides
.htaccess is an abbreviation for Hypertext Access; the default name for Apache's directory-level configuration file, which enables customizing the configuration directives i.e. the parameters defined in the main configuration file. However, the configuration directives need to be in .htaccess context and the user needs appropriate permissions to edit the file. The directives apply to the documents in all the directories and the subdirectories where the .htaccess file remains located. However, the other .htaccess files in the subdirectories may alter or nullify the effects of the ones in the parent directories.
Security with Apache htaccess .htaccess / General Guides
Apache Security tips and tricks for securing Apache Web Servers using htaccess, httpd.conf, and other built-in techniques to thwart attackers.
This really should be required reading for any Apache admin or user because these little tricks are so easy to do.
Create Search Engine Friendly URLs using .htaccess .htaccess / URL Rewrite
In this post, we will see how to use .htaccess to create search engine friendly URLs. Using .htaccess, mapping dynamic pages to static address is easy and this helps search engines to index the pages fast, effective and strong.