Hi,
Got the answer yet. The path to file is indicated by "set :apache_conf" (deploy.rb) The code must go under "RewriteEngine On" Thank you anyway, Thiago L. Christofoletti [EMAIL PROTECTED] Sao Carlos, Brazil On 23 ago, 20:48, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all :) > > I found "Custom Maintenance Pages" (http://clarkware.com/cgi/blosxom/ > 2007/01/05#CustomMaintenancePages) an interesting aproach about > customizing the Capistrano maintenance page, but as I am not an Apache > expert, I will please need some help. > > The post says that: > > ----------------------------------- > You'll also need to tell your web server to check for the static > maintenance file and redirect all requests to it if the file exists. > Here's an example for Apache: > > RewriteCond %{REQUEST_URI} !\.(css|jpg|png)$ > RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f > RewriteCond %{SCRIPT_FILENAME} !maintenance.html > RewriteRule ^.*$ /system/maintenance.html [L] > ----------------------------------- > > Where *exactly* I paste this code? > > I tried to find the answer through Apache´s documentation but it wasn > ´t friendly enough to me :-/ > > Thank you :) > > Thiago L. Christofoletti > [EMAIL PROTECTED] > Sao Carlos, Brazil --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
