This is a very obscure question but I've spent too much time on this problem to think I can solve it myself.
I'm working on a CMS which runs on IIS 7 and classic ASP. I do URL rewriting by parsing the query string from the custom 404 page. This works great for hundreds of thousands of rewritten URL's, but when I try to rewrite the CSS url, the style sheet is never recognized.
Each web page shows the style sheet as:
<link href="css/style.css" rel="stylesheet" type="text/css" />
The custom 404 page detects what the user is looking for and does a server transfer to 'css/23/style.css' (adding the site specific style sheet, this is a multi-site CMS.).
This works fine when I type the URL of the style sheet directly into the browser, but the style sheet isn't used when viewing a normal page.
Because browsers to show an error message when a css isn't found, I have no way of seeing what is going on.
Please help! I'm going crazy trying to figure this out.