A maintenance page -- pretty sparse, by default.

Try it and see:

cap deploy:web:disable

On Fri, Sep 12, 2008 at 5:04 PM, sbtodd <[EMAIL PROTECTED]> wrote:

>
> thanks for your help,
>
> if I put those commands into the script what page will the user see
> when they go to the site?
>
> Todd
>
>
>
> On Sep 11, 6:46 pm, "David Masover" <[EMAIL PROTECTED]> wrote:
> > 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