0

I'm installing drupal 7 on a remote server. After running tar -xvzf on the install file and moving all the files to a folder just under the public_html folder I enter the site url in to a browser. The result is a 500 server error. If I then rename the .htaccess file to hide.htaccess.hide the install process will begin. I've experimented w/ the line:

RewriteBase /drupal

with various paths/folders that make sense but always still a 500 error.

Questions:

  1. What is the .htaccess file doing to prevent the install?
  2. What is the issues if any of doing the rename?
Mike
  • 375
  • 3
  • 11

1 Answers1

0

By default apache allow to override limited settings throught .htaccess file, the .htaccess file provided by drupal overrides more items than allowed to you need to enable to allow override all setting in your vhost config file like...

AllowOverride All
AccessFileName .htaccess

Please refer to following links more details

How to Set AllowOverride all

https://www.drupal.org/getting-started/clean-urls

Community
  • 1
  • 1
Sharique
  • 4,199
  • 6
  • 36
  • 54
  • I'm afraid that doesn't seem to answer what exactly .htaccess is doing/not-doing and why is it a problem on a remote server but not on a local. – Mike Jun 03 '16 at 12:13
  • Compare vhost and apache conf settings. I'm sure there something in conf is the cause. – Sharique Jun 06 '16 at 07:17