By Crell on
I'm installing a Drupal test install into my public_html directory on my Linux box (Apache 1.3, MySQL 4.0.24, PHP 4.3.10). I'm following the INSTALL.TXT instructions, but when I get to Step 5 and it tells me to point my browser to the Drupal site, I get an Internal Server Error. According to the apache error.log file, the error is:
/home/lgarfiel/public_html/drupal/.htaccess: Options not allowed here
Has anyone else run into this problem? Is it because I'm installing as a local user instead of to the main web root?
Comments
Found the problem
Although the INSTALL.TXT doc doesn't say it, the directory where Drupal is installed needs to have certain Apache configs set for it. Specifically:
AllowOverride Indexes Options
Otherwise the .htaccess file directives for Drupal don't work. Once I set those in my apache.conf file and restarted Apache, everything worked fine.
Thanks to Morbus for his help on this one. Perhaps the above should be mentioned in the install docs? (At least some Apache installs don't have those enabled by default for security reasons. Debian, in my case.)
--
Larry Garfield
http://www.garfieldtech.com/blog
--
Larry Garfield
http://www.garfieldtech.com/
Thinking Functionally in PHP: https://leanpub.com/thinking-functionally-in-php