Displaying 11 results from an estimated 11 matches for "disable_web".
Did you mean:
disable_cb
2006 Jul 03
1
Capistrano - disable_web and enable_web with lighty?
...ghty+pound+mongrel [1] and I
think I''m going to give that a shot. I definitely prefer lighty to
Apache - it''s pretty ridiculous how much fewer resources it uses.
Anyway the only thing I''m going to miss about Apache is a real
mod_rewrite...and capistrano''s enable/disable_web tasks. Does anyone
know how I can make those work on lighty? I really want them.
Pat
[1] http://weblog.rubyonrails.com/2006/7/3/pound-makes-lighty-and-mongrel-play-nice
2007 Jan 10
0
capistrano disable_web with mongrel_cluster
Ok,
So I''m running mongrel_cluster behind a hardware load balancer. I don''t
have apache running at all, just mongrel_cluster.
Does anyone know how I can get cap disable_web/enable_web to work
without Apache. With no apache I can''t just make an .htaccess file
change like the docs state.
has anyone rewritten disable_web/enable_web to work with just
mongrel_cluster and no Apache?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------...
2006 Apr 25
4
Symlinks in Capistrano?
I have a few projects with large directories (say, user-uploaded files) that
make using Capistrano a bit awkward. However, I suspect that I may have
reached the "write a custom task" level.
(I suppose I''m just thinking out loud, here...)
It seems as though I''d want this directories symlinked in /shared... Maybe
there''s a way to extend the
2006 Jan 31
2
Production Mode
In production ( hosted in dreamhost) during migratin , I want send the
users to a maintaince page. Is there any standard way of doing this.
Rgds,
--Siva Jagadeesan
http://www.varcasa.com/
My First Rails Project. Powered by Typo and soon by RForum too
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to
webrick and mongrel. How can I do this same thing using Lighty and
Mongrel?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2008 Jan 23
7
Apache, Mongrel, Authentication
...uthType Basic
AuthName "Restricted"
AuthBasicProvider file
AuthUserFile /www/mysite/users/userdb
Require valid-user
</Directory>
RewriteEngine On
# Check for maintenance file and redirect all requests
# ( this is for use with Capistrano''s disable_web task )
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
# Rewrite index to check for static
RewriteRule ^/$ /index.html [QSA]
# Rewrite to check for Rails cached page
RewriteRule ^(...
2006 Jun 15
13
Best Approach to a ''Down for Maintenance'' Page?
What is the best way to implement a ''Down for Maintenance'' page across
your Rails app?
Ideally I would like to have a button in my admin section that toggles
the display of a ''currently under maintenance'' page to every public
request to the app (possibly with some dynamic content like estimated
down-time)
except for: -
- requests from a specified IP
2007 Mar 29
0
Resolved problem with Apache Load Balancer Manager
...owOverride None
Order allow,deny
Allow from all
</Directory>
RewriteEngine On
# Uncomment for rewrite debugging
#RewriteLog logs/myapp_rewrite_log
#RewriteLogLevel 9
# Check for maintenance file and redirect all requests
# ( this is for use with Capistrano''s disable_web task )
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
# Rewrite index to check for static
RewriteRule ^/$ /index.html [QSA]
# Rewrite to check for Rails cached page
RewriteRule ^(...
2006 May 19
12
Mongrel/Apache and static content
I''m looking for an easy way to have mongrel only serve dynamic railscontent, while letting Apache serve non-Rails content. Unfortunately,it seems that you have to segregate the static content in its ownfolder. That was also the case with the SCGI runner. I used thetrick outlined athttp://comments.gmane.org/gmane.comp.lang.ruby.rails/23347 to managethis. I was curious if a similar
2006 Nov 13
5
apache -> pen -> mongrel cluster
Hi everyone,
Recently, I''ve been reading about different deployment environments for
rails and mongrel. One configuration I''ve started seeing is apache -> pen
-> mongrel cluster. See http://errtheblog.com/post/35 as an example.
Can someone explain to me the benefit of using Apache and Pen as opposed to
either using apache as a load balancer or pen by itself?
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across
multiple remote hosts. It was formerly known as SwitchTower.
Installation:
gem install capistrano
Manual:
http://manuals.rubyonrails.org/read/book/17
Version 1.1 introduces a few changes:
* Renamed! Due to the trademark infringement debacle of last week, we
had to change the name. Moving forward it will be known as