By akaifi on
Hello all,
I have an interesting issue, I just transferred all my files over to my host (HostGator), I created a test directory and unzipped all my files and the site runs great in the 'test' subdirectory. When I erased everything out of the 'test' directory and into the site's root, it gave me an 500 Internal Error...
I think it could be the .htaccess file?
But I'm not sure...
Any help would be appreciated.
Thanks!
Comments
.htaccess
It is almost certainly your .htaccess file. Does you site work if you temporarily remove it?
If it takes additional configuration steps after that (eg editing settings.php), once you've got it working again try adding .htaccess back to see if it still causes problems.
You might need to alter the RewriteBase directive int he .htaccess if you are moving subdirectories.
If you have access to the Apache error log, you will be able to get a better idea of what is wrong with your .htaccess. If you don't have access to the log, ask your host to give you the log entries for the 500 errors. If you still can't get it working, post the error messages from the log here.
If your host won't give your the error messages (they aren't a good host in that case), you could always revert to the trial and error method by progressively commenting out and uncommenting each part of the file until you have found the part that is incompatible with your hosts systems.
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ