Orchard doesn’t seem to like anything in it’s web root except for it’s own content. Try it out – create a folder (I created /TestContent/) and then put a test from there (I created test.html) and try to access it. You’ll get a 404 error. Orchard “traps” all requests and effectively kills them if it […]
Enable Caching in IIS to Speed Performance
Google’s various page speed testing tools seem to prefer browser caching set with at least a one week expiration set. That makes great sense to me! Setting a browser cache expiration tells the visitor’s browser that is is okay to cache the content – so upon the next visit the browser will load the content […]
cytanium, Hosting, IIS, OrcsWeb, System Administration, WindowsIIS 7.x Shared Configuration
Below is a guest post from Rick Barber, the Senior Support Specialist at OrcsWeb, a managed Windows hosting provider specializing in Windows cloud server hosting and dedicated Windows hosting. If you find the following to be useful, check out the link at the end for more resourceful tips from Rick. Before the release of Internet Information […]
Hosting, IIS, OrcsWeb, System Administration, WindowsPerformance Monitor Tips: Identifying Bottlenecks
Great resource find by Peter at Managed Windows Host OrcsWeb. I really liked this detailed explanation of using perf mon counters to identify performance bottlenecks: http://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx?pr=blog#id0120037 Many of the counters will be familiar, however I really liked that they identified thresholds for each counter. Happy hosting!
OrcsWeb, System Administration, tip, Troubleshooting, WindowsLog Parser: Pulling Valuable Data From IIS Logs
Microsoft’s Log Parser is an awesome tool that justifies knowledge, if not even regular use, by both system administrators and web users alike. From the download site: “Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key […]
cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tipIIS7 Mime Mappings
For very good reasons, not all extensions are recognized by IIS by default and may return a 404 error when trying to access them from your site. If you have need to add more extensions to be “allowed” – for example if you have embedded font files – you have a few different options. One […]
ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tipResolving a “There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section defined” Error
People get this error a lot when upgrading an ASP.NET 2.0 application to ASP.NET 4.0. Here is a link to common ASP.NET 4 Breaking Changes: http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes#0.1__Toc256770149 And here is the section that applies to this error: “The workaround for the second scenario is to delete or comment out all the system.web.extensions configuration section definitions and […]
ASP.NET, cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, tip, Troubleshooting, Visual Studio, WebMatrix, WindowsUsing URL ReWrite to host multiple sites/domains under a single site
Scott Forsyth has a couple of good blog posts with pointers on using URL ReWrite to host multiple sites/domains under a single site: http://weblogs.asp.net/owscott/archive/2010/01/26/iis-url-rewrite-hosting-multiple-domains-under-one-site.aspx http://weblogs.asp.net/owscott/archive/2010/05/26/url-rewrite-multiple-domains-under-one-site-part-ii.aspx
cytanium, Development/Coding, Hosting, IIS, OrcsWeb, System Administration, WindowsIIS Compression
Do you want to both save money and speed the load time of your web pages? Then check out IIS’s built-in compression feature. You can access it from the IIS management console: Then make sure both of these boxes are checked. There are some very rare situations where the compression conflicts with an application – […]
cytanium, Hosting, IIS, OrcsWeb, System Administration, tipURL 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