Apache .htaccess

⌘K
  1. Home
  2. Apache .htaccess
  3. htaccess Tutorial
  4. Introduction

Introduction

A .htaccess is a configuration file used by Apache web server. This is not a file extension, It is actual file name which starts with dot (.). This file can be placed under any directory of web application in document root. Apache server load .htaccess at run time.

The .htaccess file can be used to alter Apache configuration during run time. For example handling errors, redirect or rewriting urls, secure urls etc.