Forum Moderators: phranque
I have a Ruby on Rails app that uses mod_rewrite to grab all incoming urls and I have to manually specify which directories to leave alone. I'm very new to this, so I've just been using their sample code of:
RewriteCond %{REQUEST_URI} ^/blog.*
RewriteRule .* - [L]
Now this code works if I only hit /blog, but as soon as I dig deeper like /blog/articles/article-name then my Rails app grabs it again.
I assume this is as simple as changing the RegExp on my RewriteCond but, like I said, I'm a total noob.
Thanks.