I am using relative paths to my CSS document, but on the SSL pages the document will not load. Navigating back to the non-SSL pages brings SSL back. How to I overcome this?
+3
A:
There is nothing wrong with using relative paths with SSL pages, there must be something else involved.
Have you considered any other logic you may have, an extra redirect with different URL, or anything else that could be causing it?
PS. If you are using Chrome, hit view source and Ctrl-click on the CSS path. It should take you to what it's supposed to be pointing at.
eglasius
2009-12-02 05:59:52
you are correct. IIS rewrite was forcing the css link back to non-ssl.
zsharp
2009-12-02 06:32:56