Redirecting Sub-directories with Backbone.js and/or htaccess
After many hours of research and tinkering, I've finally managed to get backbone.js routes working, with one exception: 
If I enter "/workingdir/routepath" - everything is great and it uses the 'routpath' route, however if I enter "/workingdir/routepath/" or "/workingdir/routepath/asdf" or anything similar, my website breaks and I get errors that look somewhat like this:

    Resource interpreted as Stylesheet but transferred with MIME type text/html:  "http://xxxx.com/staging/personal/css/style.css". fj:5
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/jquery-1.7.2.min.js". fj:6
    Uncaught SyntaxError: Unexpected token < jquery-1.7.2.min.js:1
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/nav.js". fj:6
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/underscore-min.js". fj:6
    Uncaught SyntaxError: Unexpected token < underscore-min.js:1
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/backbone-min.js". fj:6
    Uncaught SyntaxError: Unexpected token < backbone-min.js:1
    Uncaught SyntaxError: Unexpected token < 

And the page has no styling whatsoever. I think the issue is coming from the slash in the URL, making the paths for css and js files point to the wrong location (they should be in "staging/css/" and "staging/scripts/", but as the log indicates, it's looking for "staging/personal/xxx").

Any ideas on how to fix this? Thank you for your time!
Redirecting Sub-directories with Backbone.js and/or htaccess
===

After many hours of research and tinkering, I've finally managed to get backbone.js routes working, with one exception: 
If I enter "/workingdir/routepath" - everything is great and it uses the 'routpath' route, however if I enter "/workingdir/routepath/" or "/workingdir/routepath/asdf" or anything similar, my website breaks and I get errors that look somewhat like this:

    Resource interpreted as Stylesheet but transferred with MIME type text/html:  "http://xxxx.com/staging/personal/css/style.css". fj:5
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/jquery-1.7.2.min.js". fj:6
    Uncaught SyntaxError: Unexpected token < jquery-1.7.2.min.js:1
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/nav.js". fj:6
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/underscore-min.js". fj:6
    Uncaught SyntaxError: Unexpected token < underscore-min.js:1
    Resource interpreted as Script but transferred with MIME type text/html: "http://xxxx.com/staging/personal/scripts/backbone-min.js". fj:6
    Uncaught SyntaxError: Unexpected token < backbone-min.js:1
    Uncaught SyntaxError: Unexpected token < 

And the page has no styling whatsoever. I think the issue is coming from the slash in the URL, making the paths for css and js files point to the wrong location (they should be in "staging/css/" and "staging/scripts/", but as the log indicates, it's looking for "staging/personal/xxx").

Any ideas on how to fix this? Thank you for your time!