I sent most of this past weekend trying to get a nice looking responsive table to work. At first I tried to mess with it from scratch. Then someone recommended I look into Twitter Bootstrap. Wow, am I glad I looked into Bootstrap because that has saved a ton of frustration. Okay, so I have […]
How to set content expiration for your IIS7 site
Do you want to assure that client browsers will always download the latest copy of your page(s) rather than potentially pulling an outdated page from their local cache? You can enable and manage content expiration in IIS7 to control this at the server-side. Below is a walk-through of enabling this using the IIS7 Remote Management […]
Hosting, IIS, Learning, WindowsURL Rewrite Sample to Add www to the URL
Here is a sample web.config file to redirect any requests to http://site.com to http://www.site.com. <?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <rewrite> <rules> <rule name=”Add www” patternSyntax=”Wildcard” stopProcessing=”true”> <match url=”*” /> <conditions> <add input=”{HTTP_HOST}” pattern=”www.site.com” negate=”true” /> </conditions> <action type=”Redirect” url=”http://www.site.com/{R:1}” /> </rule> </rules> </rewrite> </system.webServer> </configuration>
cytanium, Hosting, IIS, Learning, OrcsWeb, tip