My first Drupal install went fine except for a problem with the included .htaccess file. I have to move it out of the way to bet Drupal working normally. If .htaccess is in the drupal directory (/var/www/html/drupal) I get:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

The error log reads:

[Sun Apr 23 09:00:40 2006] [alert] [client 66.189.95.119] /var/www/html/drupal/.htaccess: DirectoryIndex not allowed here
[Sun Apr 23 09:02:35 2006] [alert] [client 66.189.95.119] /var/www/html/drupal/.htaccess: DirectoryIndex not allowed here

This seems to be a conflict between my Apache config and .htaccess and given enough time I can probably figure it out but has anybody encountered this? Any obvious solution?

John

Comments

If you have access to your Apache configuration file you can either include settings from .htacccess in it or use the directive AllowOverride All (or add Indexes to the existing Allowoverride rule).

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

Or, if you don't have access to the Apache config, you can comment/remove the offending line from .htaccess, but leave the rest there. It may be that you'll have to remove one or two other lines (try and error)...

HTH, Uwe.
--
hermann-uwe.de | crazy-hacks.org | unmaintained-free-software.org

I'm having the same problem, but I don't have Apache config. Which lines particularly am I to comment/remove from .htaccess?
JK

Indexes was already in the options list for /var/www/html so I did an AllowOverride All and it seems to be working now with the .htaccess directory. I'm marginal at Apache configuration. Should I have put in an explicit declaration for Drupal directory?

John Ellenberger
Groton, MA

John Ellenberger
Groton, MA