Philip, Yes, the problem was in value on %{DOCUMENT_ROOT}
I changed to the full path and works fine - On Jun 20, 3:20 pm, Philip Hallstrom <[EMAIL PROTECTED]> wrote: > > 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 > > urlhttp://myhost/system/maintenance.htmlthe 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 applicationhttp://myhostthe maintenance page > > isn't showed, instead the application is displayed right > > > any clue? > > Any chance that "Enable Rewrite" is set to no? At the top of the > "Rewrite" tab for your virtual host? > > That's the only thing I can think of... either that or litespeed isn't > setting those %{} like you think they are. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---