[drupal-devel] [bug] htaccess patch
killes
drupal-devel at drupal.org
Sat Feb 19 18:55:11 UTC 2005
Project: Drupal
Version: cvs
Component: base system
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: Uwe Hermann
Updated by: killes at www.drop.org
Status: patch
This patch should get committed. +1
killes at www.drop.org
Previous comments:
------------------------------------------------------------------------
February 2, 2005 - 17:09 : Uwe Hermann
Attachment: http://drupal.org/files/issues/htaccess_1.patch (458 bytes)
Hi,
>From the CVS log:
2005-01-28 17:30 dries
* .htaccess (1.60):
- Oops.
2005-01-28 16:47 dries
* .htaccess (1.59), CHANGELOG.txt (1.62),
database/database.mysql
(1.168), database/updates.inc (1.90), modules/forum.module
(1.226), modules/taxonomy.module (1.171): - Patch #10425 by
ccourtne and walkah: added admin screens to maintain forums
instead of forcing the user to add a taxonomy.
The patch to .htaccess was:
Index: .htaccess
===================================================================
RCS file: /cvs/drupal/drupal/.htaccess,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- .htaccess 9 Oct 2004 20:41:49 -0000 1.58
+++ .htaccess 28 Jan 2005 15:47:03 -0000 1.59
@@ -16,10 +16,11 @@
ErrorDocument 404 /index.php
# Set the default handler to index.php:
-DirectoryIndex index.php
+#DirectoryIndex index.php
# Overload PHP variables:
-<IfModule mod_php4.c>
+#<IfModule mod_php4.c>
+<IfModule sapi_apache2.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
@@ -64,4 +65,4 @@
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
-# $Id: .htaccess,v 1.58 2004/10/09 20:41:49 dries Exp $
+# $Id: .htaccess,v 1.59 2005/01/28 15:47:03 dries Exp $
Dries, you reverted the IfModule stuff, but left in the
"#DirectoryIndex index.php" (it's commented out, which it wasn't
before).
Is this by design or an oversight? I guess the latter, so one-line
patch attached.
HTH, Uwe.
--
View: http://drupal.org/node/16621
Edit: http://drupal.org/project/comments/add/16621
More information about the drupal-devel
mailing list