.htaccess and rails


#1

Hey all,

I’m trying to figure out a way to use .htaccess to make rails not look in a certain directory (“test”) AND all its subdirectories.

So far I have:

RewriteCond %{REQUEST_URI} ^/test.*
RewriteRule .* - [L]

But this doesn’t work for subdirectories. Any idead?