I'm looking for a rewrite rule that will handle a request such as
js/mysite/jquery.somelibrary.js or
js/mysite/jquery.validate.js or
js/mysite/somejsfile.js
What I have written so far handles the last case
RewriteRule ^js/([a-z_]+)/([^\/.]+)\.js$ /site_specific_js.php?site=$1&file=$2 [QSA,L]
but on the first two, all that gets rewritten for the file is jquery and everything else gets ignored
Any help is appreciated.