Internal Server Error - Downloading attachments

by PixelstoLife   Last Updated October 11, 2017 20:07 PM

I've recently migrated a Drupal 6.22 site from my local host (Xampp 2.5) to a remote, shared server - Fasthosts hosting services.

After uploading the files through ftp and importing the database, I couldn't access the site at all - it would return a 500 Internal Server Error. Trawling the Drupal forums and searching online, I found out that this was down to the .htaccess file, which I subsquently removed.

This allowed the site to load, but only the homepage. I then found a .htaccess file in the Drupal forum which someone had edited and I uploaded that, which gave me full access to the site - good times! However, after performing a walk-through of the site, I've found that I cannot download any of the attachments I've uploaded to some of the pages.

Is this a .htaccess issue? I've trawled many forums and posted several questions around the place, but no one has given a response yet. My mate highly recommended StackOverFlow, so I hope someone can help!

I've checked the server logs and it's states the error is that the file is not found! But I've deleted and re-uploaded then several times now.

Can anyone advise?

Tags : 6 migration

Answers 1

Drupal can put .htaccess files in some folders. It is likely that something in your Apache setup is different and the .htaccess files are no longer valid on your new server.

Removing the .htaccess file from the sub folder could leave you open to hacks, so it may be worth looking to see what it was trying to do and make sure that you are secure.

Jeremy French
Jeremy French
July 11, 2011 13:52 PM

Related Questions

Migrate Dimensions

Updated April 23, 2015 00:03 AM

Migrate class not registering properly

Updated July 26, 2015 13:03 PM

Display inline images imported from phpBB

Updated April 08, 2015 18:03 PM