Posts

Showing posts from March, 2015

Working with HTTP Module and Host-Named Site Collection

Image
Writing is the one of the listed “Hobbies” on my resume but I never tried my hand on blog before. So recently while working for a client I came across problem with Http Module and it took me days of efforts to figure out the solution which was there all the time and I just needed to think of the basics. So the scenario was that we were using an Http Module to redirect requests. We had a list which stored the redirect pointers. Everything was working just fine till we tested the code on a Host-Named Site Collection and the functionality just stopped working. The requests were not going through the Http Module. As you might know how Host-Named Site Collection URL looks like, to give you a brief Host-Named Site Collection enable you to assign a unique DNS name to site collections in SharePoint. For example, you can address them as http://may.sp.com:90000   and http://fair.sp.com . So let’s just say that http://may.sp.com:90000 is my root Host Name Site Collection and this is my Sha...