You probably don't want a 404 status, especially for a search bot. 404
doesn't mean "temporarily unavailable", it means "not found".

And you're probably looking for deploy:web:disable/enable, as in:

cap deploy:web:disable
cap deploy
cap deploy:web:enable

Or, if you like, put this in config/deploy.rb:

before :deploy, 'deploy:web:disable'
after :deploy, 'deploy:web:enable'

On Thu, Sep 11, 2008 at 6:34 PM, sbtodd <[EMAIL PROTECTED]> wrote:

>
> When you do a cap deploy what happen when users access your site?
>
> I use NGINX and Tiny and Rails ...
>
> Is Cap smart enough to put up a temporarily unavailable page for this
> configuration?
>
> what happens if a search engine bot comes around .. is there a way to
> send a 404 status to them?
>
> Todd
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to