Free .htaccess File Generator

The .htaccess is a file that can be placed in any directory of your website (normally the root directory) to give the Apache Web Server instructions such as how to respond to particular requests.


Error Documents




Done

IP Deny/Allow



Allow All IPs Except..

Seperate each IP by a new line.

Deny All IPs Except..

Seperate each IP by a new line.


Done

Directory Index

Sets the index pages for directories. Seperate each index name or file type by a new line.


Done

Directory Listings


If you enabled directory listings but wish to hide certain files or file types, enter them below seperated by a new line


Done

Additional Options




Done

Result