I am attempting to redirect all requests of the main stylesheet called styles.css
to the minify script of min/g=css
so that I may be able to work on the CSS file live and just have the server use redirect to the minify script.
Basically, this in my html file...
<link rel="stylesheet" href="css/styles.css" type="text/css">
turns into this
<link rel="stylesheet" href="min/g=css" type="text/css">
when the server requests it.
Here is my attempt so far, but it doesn't seem to be working at all. The regular css file just loads on the server..
RewriteRule ^css/styles\.css$ min/g=css
Along these same lines, I also have a fear about when I start building subdirectory pages. Does this rewrite rule need to be an "absolute path"? Thanks for any help everyone!