.htaccess file generator
powered by cooletips.de
What page to load if the user doesn't specify any (usually index.html or index.php)
Can specify multiple in a list (ie index.php index.html index.htm default.htm)
execute CGI programs
Execution of CGI scripts using mod_cgi is permitted.
include files (SSI)
or without #exec
Serverside includes provided by mod_include are permitted.
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.
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 HTTP requests to redirect HTTPS
Deny by default
Require valid username
All if user OR ip matches
path to users file
path to groups file
Allowed IP addresses (wildcard and names allowed)
Blocked IP addresses (wildcard and names allowed)
Additional Mime Types
: fopen(./mime.types): failed to open stream: No such file or directory in
File extension to mime type mappings are in this format
mime / type ext
Protect System Files
Protect .htaccess and user and group files
Additional files to protect
File Cache Control
Specify File Cache Time
How often will the client/proxy refresh the file
Expire all clients / proxies at the same time
Protect Media Files
Check the referrer-domain for images, music, and sound files
Block E-mail Harvesters
Page to server:
Deny access to e-mail harvesting programs.
Page Name :
Daytime Starts :
Daytime Ends :
Daytime Page :
Nighttime Page :
Serve pages depending on time of day
Virtual DNS to Folder
Path to Folders:
Rewrite Virtual Subdomains to subfolders. Ie: 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.
Page Name :
Page requested in the URL
Browser Dependant Page
Page to use for Netscape
Page to use for IE
Page for Lynx
Page to use for text mode
Page to use for other browsers
Country Specific Page
is setup and configured on your server. Thought the software is free, the data-files are a commercial product. Allows you to redirect users to specific pages depending on their country of origin.
US = United States GB = United Kingdom CA = Canada MX = Mexico FR = France NL = Netherlands A1 = Anonymous
Country Specific URL
page to redirect visitors from the country (index.us.html or index.fr.html)
Map Folder To Script
This trick will make it possible to run a script that has parameters in the URL. You can make a custom homepage script for your users that they can access like /login/home.html or /login/preferences.html and have them both go to login.php.
Folder you will reference in your href and urls (ie login)
Script that will be ran (ie login.php, login.cgi, or login.pl) If you would like the rest of the path as a POST variable, do something like "login.php?page="
Custom Error Documents
Allows you to specify custom documents to serve on error conditions
Use this option if a document has been moved to a new url. It will take care of automatic redirection for the user.
Redirect Moved Document