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?