Also some interesting things to note. If I remove all the routes, than it will pull up the 404 page as expected. If I add an index.html than it will show the maintence page (over the index.html) So is there something about routes and .htaccess files I should know about?
On Feb 1, 12:00 am, OmenKing <[email protected]> wrote: > I get not errors when I run deploy:web:disable. It appears to be > creating the maintenance.html page. > I've placed this .htaccess in my current/public > > RewriteEngine On > > RewriteCond %{REQUEST_URI} !\.(css|jpg|png)$ > RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f > RewriteCond %{SCRIPT_FILENAME} !maintenance.html > RewriteRule ^.*$ /system/maintenance.html [L] > > I have this for my virtual host. > > <VirtualHost *:80> > > ServerName markadee.com > ServerAliaswww.markadee.com > > DocumentRoot /home/monsterman/public_html/markadee/current/public > > <Directory "home/monsterman/public_html/markadee/current/public"> > Options FollowSymLinks > AllowOverride All > Order allow,deny > Allow from all > </Directory> > > </VirtualHost> > > I've enabled mod rewrite. Any ideas for debugging? I tried throwing > random text in my .htaccess file to see if would turn up an error but > it didn't --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
