Posts [ 4 ]

Topic: My server keeps crashing

My site is formerly a PHP application. Spammers loved to post comments on it. Now that I'm on rails and have a better setup the spammers can't get through, but that doesn't stop them from trying. On occasion my rails app can't handle the requests and crashes. Can somebody help me figure this out? Here is the production log just before the crash:

Re: My server keeps crashing

If you wanted to fix the 404 errors (Routing errors) I think your .htaccess file would be the best place. I'm not good enough with .htaccess code to come up with the right redirect script but I'm sure it wouldn't be more than three lines or so to route all php files to your site root.