.htaccess

From Apis Networks Wiki

Jump to: navigation, search

Introduction

.htaccess is a special file used by Apache to override default behaviors of a site. Common directives include mod_rewrite rules, authentication, and core configuration. .htaccess files should be created if they do not exist and apply recursively to all sub-directories. For example, rules in a .htaccess file within /var/www/html would also apply to /var/www/html/a, /var/www/html/a/b/c, and so on.

Note that if your operating system will not permit you to create a file named .htaccess, then you may always rename it from either your FTP client or the File Manager.

See Also

Apache Manual

Personal tools