I'm struggling to get a simple CMS website up and running but can't get past the installation stage. I've been working on this off and on over 4 days and am getting burnt out and demotivated on the project.
To summerise my pains: I keep getting Redirect loops and FCGI timeouts no matter what I do. Unfortunatly I've never touched Ruby, RoR apps, or CGI so I lack the debugging experience to figure this out.
Some details
- Host: Godaddy Shared Linux, SSH access, Non-java server
- Ruby version: 2.2.2
- Gem version: 1.8 (manually set per Help)
- Hosting root for all my sites is /var/chroot/home/content/i/h/a/[name]/html/ . This does have an .htaccess file but it doesn't affect anything
- My domain points to /var/chroot/home/content/i/h/a/[name]/html/ radiant.domain.biz/public/
You have the following two errors that occur. This occurs with the default .htaccess file:
[Wed Oct 20 16:39:13 2010] [error] [client [ip]] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
This is a stock .htaccess thats even recommended on other sites, so the loop really confuses me. No idea why, and I've pretty much given up on why since I don't have access to a rewrite log and I don't have a necessary dev environment setup due to limited resources.
So I modified it and just put RewriteBase /
right after the rewrite engine turns on and got this:
[Wed Oct 20 16:40:25 2010] [error] [client [ip]] FastCGI: comm with (dynamic) server "/var/chroot/home/content/i/h/a/[name]/html/radiant.domain.biz/public/dispatch.fcgi" aborted: (first read) idle timeout (60 sec)
[Wed Oct 20 16:40:25 2010] [error] [client [ip]] FastCGI: incomplete headers (0 bytes) received from server "/var/chroot/home/content/i/h/a/[name]/html/radiant.domain.biz/public/dispatch.fcgi"
I assume that means its just partially working but somethings wrong when starting up. I've verified my database.yml settings and they are all good. I've tested when in dev and production mode to no avail, and the log files are all empty.
The only thing I can think of that might of done something is a bug I tried to manually fix an error I encountered when trying to install. I did manage to fix it by following the guide here, but it may of broken something. I'm not sure what though.
This really confuses me as I've never dealt with this kind of error before. So for my question: What would cause this kind of error and how can I fix it?