I would like

<link rel="stylesheet" type="text/css" href="/css/site.min.v1.1.css" />
<script type="text/javascript" src="/js/site.min.v1.1.js"/>

just like

<link rel="stylesheet" type="text/css" href="/css/site.min.css" />
<script type="text/javascript" src="/js/site.min.js"/>

also it can use with /css/site.v1.1.css

however it dont work. Assist me to write htaccess .

i test with

RewriteRule ^(css|js)/(.+(?:min)?)\.(.+)\.(js|css)$ $1/$2.$4 [L]

it wor for just two above example but dont use /js/jquery-1.4.2.min.js

it use RewriteRule ^(css|js)/(.*(?:min)?)(\.v.*)+\.(js|css)$ $1/$2.$4 [L]

I highly doubt your work is nice practice whatsoever, because it will most likely provide you with more head aches than benefit. You need to have the ability to include /js/jsquery-1.4.2.min.js to your set by including another rewrite rule (following the one you already provider) along wrinkles:

RewriteRule ^(css|js)/([^-]+)(?:[0-9.-]+)(\.min\.)(js|css)$ $1/$2$3$4 [L]

however this really appears like an ugly patch. It is extremely general, it's hard to rely on, it's hiding version information, it is going to result in issues - do not do it.

Consider different ways to resolve the issue. I do not understand what is the real cause that made you attempt to get rid of the versions, but It is best to have a look at this.