Hi,

I'm moving a new Drupal site from our dev server to another host company's prod server. Everything is in place and I've confirmed the new mySQL string/path. However, I get an error 500 when trying to access the site. Does this relate to .htaccess? And if so, does it need to be edited in some way?

Thank you for your help!

TC

Comments

agentrickard’s picture

It probably is misconfigured DNS.

tofuComputer’s picture

Hi,

Thanks for your response. Perhaps I should be more clear...

When we did the first installation of Drupal on our dev server, it was a standard installation, nothing different than the steps provided in Drupal documentation. Likewise, the website we developed is standards-compliant. We were asked to install the website on a different host's production server. Unfortunately, they had a file-size upload restriction for their phpMyAdmin tool, so the db had to be ftp'd and moved by their staff to where their phpMyAdmin lives. Naturally, they had to make a new database, which I instructed them to give the same name as the old one. But for some "security reason", they said they could not use the user name and password I provided and made new ones. No problem though, I updated the path in "settings.php" file:

code reference removed by TC.

However, once I uploaded everything I got the "500" error, which led me to believe there might be a problem with the .htaccess file. That said, we've not touched the .htaccess file and it remains standard.

So... knowing this, can anything think of a reason why Drupal will not run?? What could cause error 500?

Thanks,

TC

agentrickard’s picture

It is not a database problem. It is a webserver configuration problem.

See http://www.checkupdown.com/status/E500.html

Your host needs to examine the logfiles to determine the problem. Possibly, not having mod_rewrite turned on is one. Not having the DNS configured properly is another.

There is no real support we can offer. And please don't post mysql config information on the open internet. Edit that out.

tofuComputer’s picture

Thank you for your support and info. I've removed any reference to the database in my previous post.

Thanks,

TC.

agentrickard’s picture

Let me also answer the original question. "Does .htaccess need to be edited?"

No. We never edit that file for DA. You would only need to if you are using it as a proxy for proper DNS configuration.

agentrickard’s picture

Status: Active » Closed (fixed)
dalai’s picture

Version: 6.x-2.0-rc9 » 7.x-2.11
Category: support » bug
Status: Closed (fixed) » Active
dalai’s picture

Status: Active » Closed (fixed)