add url rewrite for static resources for non-Apache mode
add url rewrite for static resources for non-Apache mode