Hi,

When I run the capistrano "disable_web" task, the file
maintenance.html is copied into #{shared_path}/system directory.

The symlink in application's public directory that points to a
#{shared_path}/system directory works fine, because when I go to the
url http://myhost/system/maintenance.html the maintenance page is
showed.

Also I added the rewrite rules to my Virtual Host:
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]

But when I go to my application http://myhost the maintenance page
isn't showed, instead the application is displayed right

any clue?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to