
08-29-2006, 08:43 AM
|
|
New Member
|
|
Join Date: Aug 2006
Posts: 9
|
|
Just wanted to let you know that I was able to get everything (including Capistrano and it's maintenance page) working with the 2.2 release.
For reference all I had to do was create my own restart task in deploy.rb and have it call the following:
Code:
sudo "/usr/local/lsws/bin/lswsctrl restart"
Then in my Virtual Host I added the following rewrite rules to get the maintenance page to be served:
Code:
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
I've discovered an odd permissions problem related to the application I'm running trying to create a cached page, but I figured I'd post the details on that in a new thread.
Keep up the great work guys!
--
DeLynn Berry
delynn@gmail.com
http://delynnberry.com
|