View Single Post
  #3  
Old 08-06-2006, 07:49 PM
delynn delynn is offline
New Member
 
Join Date: Aug 2006
Posts: 9
Quote:
Originally Posted by mistwang
That's strange.
Strange indeed. I did a double check on the VHOST log file as well as the server error log file and in both instances the last entry when making a request to "/" is:
Code:
[REWRITE] Last Rule, stop!
Quote:
Originally Posted by mistwang
I think maybe Capistrano replaced the document root during the update, so "/system/maintenance.html" does not exist. However, in the manually crafted test environment, it should work fine.
I'm not aware of Capistrano doing anything to change the document root, but if I get some time tomorrow, I'll look into it. I know that "/system/maintenance.html" does exist (both physically as well as being able to be accessed via that URI). To troubleshoot this issue, I've manually run the "disable_web" Capistrano task to ensure that the file exists permanently until I manually run the "enable_web" task. What has me so puzzled is that the RAILS_ROOT/public/400.html file is what is being displayed instead of a more generic Litespeed 400 or 500 page.

Just as an experiment, I renamed the RAILS_ROOT/public/404.html and 500.html files and now I'm getting the following:
Code:
Status: 500 Internal Server Error Content-Type: text/html
Application error (Rails)
Color me stumped.

--
DeLynn Berry
delynn@gmail.com
http://delynnberry.com
Reply With Quote