Not sure about the details but I think you have to do some configuration for the .htaccess file to be used in newer versions of apache. If its not a requirement for you to use the .htaccess file you can put the rewrite instructions in the vhost file instead.
Regards Roger On Feb 1, 6:15 am, OmenKing <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
