summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-15 23:37:54 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-15 23:37:54 +0000
commitce5d3a06e48207989f7c706d63e2b2f86cd6cbd5 (patch)
tree5c7e1d6197d66cc3213cd6bd80aac213f763c520 /.htaccess
parent9c96417b84bbd9255ad4c4d3ba1c48015bbbc194 (diff)
downloadbrdo-ce5d3a06e48207989f7c706d63e2b2f86cd6cbd5.tar.gz
brdo-ce5d3a06e48207989f7c706d63e2b2f86cd6cbd5.tar.bz2
- Added some Apache 2 specific instructions.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 4 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index ab9e09dd9..d1cde27a9 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,6 +24,8 @@ ErrorDocument 500 /error.php
# Overload PHP variables:
<IfModule mod_php4.c>
+ # If you are using Apache 2, you have to use <IfModule sapi_apache2.c>
+ # instead of <IfModule mod_php4.c>.
php_value register_globals 0
php_value track_vars 1
php_value short_open_tag 1
@@ -44,8 +46,8 @@ ErrorDocument 500 /error.php
<IfModule mod_rewrite.c>
RewriteEngine on
- # Modify the RewriteBase if you are using Drupal in a subdirectory
- # and the rewrite rules are not working properly:
+ # Modify the RewriteBase if you are using Drupal in a subdirectory and the
+ # rewrite rules are not working properly:
#RewriteBase /drupal
# Rewrite old-style URLS of the form 'node.php?id=x':