I'm building a mini framework that supports:
mysite.com/template/
mysite.com/template/action/
mysite.com/template/action/model/
Using as a bootstrap:
RewriteEngine On
RewriteCond %{REQUEST_URI} !=/index.php
RewriteRule .* /index.php
But for any request:
mysite.com/template/action/model/**extra/stuff/should/vanish/**
So that the maximum URL size will always drop anything extra:
mysite.com/template/action/model/