Don't show directory listings for URLs which map to a directory.
Options -Indexes
Follow symbolic links in this directory.
Options +FollowSymLinks
Customized error messages.
ErrorDocument 404 /404.php
Set the default handler.
DirectoryIndex index.php
Override PHP settings. More in sites/default/settings.php
but the following cannot be changed at runtime.
PHP 5, Apache 1 and 2.
Requires mod_expires to be enabled.
Various rewrite rules.
RewriteEngine on
If your site can be accessed both with and without the 'www.' prefix, you
can use one of the following settings to redirect users to your preferred
URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
To redirect all users to access the site WITH the 'www.' prefix,
To redirect all users to access the site WITHOUT the
Modify the RewriteBase if you are using Drupal in a subdirectory and
the rewrite rules are not working properly.
RewriteBase /drupal
# $Id: .htaccess,v 1.81.2.3 2007/09/21 12:24:22 drumm Exp $
Contact us / Impressum