Dot HTAccesser - .htaccess file generator


Default Page

Which page to load if the user doesn't specify one.
You may specify more than one (e.g. index.php index.html index.htm default.htm)

Options

Permit execution of CGI scripts
allow server side includes (SSI)
Follow Symbolic Links
The server will follow symbolic links in this directory
Follow Symbolic Links if owner matches
The server will only follow symbolic links for which the target file or directory is owned by the same user id as the link.
Indexes
If a URL which maps to a directory is requested, and there is no DirectoryIndex (e.g., index.html) in that directory, then mod_autoindex will return a formatted listing of the directory.
Content Negotiation (MultiViews)
Content negotiated "MultiViews" are allowed using mod_negotiation.
Force SSL
Force HTTP requests to redirect to HTTPS

Authentication

Deny by default
Require valid username
Allow if user OR ip matches
Allow access to anyone with valid username or IP address
Area Name
Name of restricted area
Require User Authentication
Require Group Authentication
Allowed Users
You can specify more than one, just separate each username with a space e.g. user1 user2 user3
Allowed Groups
You can specify more than one, just separate each group name with a space e.g. group1 group2 group3
Allowed IP addresses (wildcards and hostnames allowed)
You can specify more than one, just separate each IP address/hostname with a space
Blocked IP addresses (wildcards and hostnames allowed)
You can specify more than one, just separate each IP address/hostname with a space

Additional Mime Types

Use shift or ctrl to select multiple mime types
File extension to mime type mappings are in this format:
mime/type ext
e.g.
text/html html
application/x-gzip gz

Protect System Files

Protect .htaccess, user, and group files
Other files to protect

File Cache Control

Specify File Cache Time
Specify how often the client/proxy will refresh the file
Modification Based
Expire all clients/proxies at the same time
Cache Time

Mod Rewrite

Protect Media Files
Check the referrer domain for images, music, and sound files
Block E-mail Harvesters
Deny access to e-mail harvesting programs
Block user-agents:
Deny access to specified user agents. Multiple user agents may be specified, just separate them with a space.
Page to serve blocked users:
Time-Dependent Page
Serve different pages depending on time of day
Virtual DNS to Folder
Rewrite Virtual Subdomains to subfolders. e.g: rewrite www.foo.domain.com to www.domain.com/subdomains/foo. Useful for virtual user domains.
Redirect Failing URLs To Other Webserver
When a URL is invalid, or would produce an error, redirect to a secondary server.

Rewrite Page

Page Name:
URL of page to be rewritten
Browser Dependent Page
Country Specific Page
Map Folder To Script
This will make it possible to run a script that has parameters in the URL. You can make a custom home page script for your users that they can access like /login/home.html or /login/preferences.html and have them both go to login.php.

Custom Error Documents

Custom Error Pages
Allows you to specify custom documents to serve on error conditions

Redirection

Redirect Moved Document
Use this option if a document has been moved to a new url. This will take care of automatic redirection for the user.