Migration to GoDaddy grid servers broke all my sites, help!

Permalink 1 user found helpful
Everything was fine, though my sites loaded slowly, so I had to go and mess things up. Before the GoDaddy bashers chime in I give their support team credit for trying, but every call has different suggestions and so far nothing is working.

The content from my home pages load with no CSS applied to them. Links are broken and I can't login to the admin side.

I installed a new copy of C5 and tried to set it up, but the test had issues with "Support for C5 Request URLs". Searching on that found posts of varying ages (do they all apply to C5 5.4.x?) and many involve GoDaddy. Can someone produce a definitive answer to this please. The various suggestions to alter the PHP.ini or .htaccess files are not working, but they all seem to assume I know what I'm doing. Do I add the changes to the existing copy, or use only what is suggested?

I'm not certain I ever had a .htaccess file, but I've tried several different suggestions I've found online to no avail. GoDaddy tells me the PHP.ini file doesn't have to be called PHP5.ini to work.

Has anyone found a solution to this? I have one copy of C5 in the root directory, and others in sub directories. They were all working this morning. Should there be .htaccess files in every directory with C5, or just at the root level.

Can someone running GoDaddy Linux Grid hosting share their .htaccess file? PHP.ini file? Or what ever worked for them. Was the .htaccess file deleted when I did the migration? A copy from a non grid scenario might also work.

gewald
 
gewald replied on at Permalink Reply
gewald
OK, one correction and an update.

On the grid hosting it does matter if the php.ini file is actually called php5.ini.

Then this addition:

cgi.fix_pathinfo = 1
cgi.force_redirect = 0


seemed to be the fix today. The GoDaddy support person was very helpful (stayed late to research the issue and sent me some suggested fixes, emailed me back today and called)

I also created a .htaccess file with just this in it:

# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
</IfModule>



Now my sites are up and working. And the grid hosting does seem faster than before.
MattWaters replied on at Permalink Reply
MattWaters
Cool, glad you got 'em working.

We've got some basic GoDaddy setup info in a How-To here:

http://www.concrete5.org/documentation/how-tos/developers/concrete5...

Thanks for sharing your details as well.