Thursday, November 8, 2007

MOSS AAM - Need Redirecting to alternate url (but same page!)

Problem: We had a moss site of , added alternative access mapping (AAM) so collegues of other countries can view the pages. The changed in url messed up the infopath browser-enabled forms that was on the old site. errors could be prompting you to save the form or saying the form has been closed. However, forms will open and work well on the new url.


Soln: To prevent users from using the old url, we had to do a redirect like so on the same default.aspx page:

<asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
<META Name="CollaborationServer" Content="SharePoint Team Web Site">

<script type="text/javascript">

//add here:
var url = window.location.href;
if(url.search(/servername:1234/i) != -1){
window.location="http://servername.co.com:1234/default.aspx";
}
//
var navBarHelpOverrideKey = "wssmain";
</script>


</asp:Content>

2 comments:

Anonymous said...

[b][url=http://www.shoesonlinesales.co.uk/]louis vuitton outlet[/url][/b] View out for totes with low priced leather. This is one particular beneficial indication of the new pretend. It is extremely hard at certain times to identify while in the function the leather-based is fair or not, but when you take your time and effort and energy to look meticulously, you are going to realize the theory.

[b][url=http://www.shoesonlinesales.co.uk/]www.shoesonlinesales.co.uk[/url][/b] Burberry, Small Marc, Juicy Couture, Tory Burch, J Crews Crew cuts, Dolce Gabbana, and American Apparel have all jumped correct aboard catering into the very same small children with the dad and mom who have by now retained the customer partnership. A really well-liked Tv collection on VH1 named the The Famous Lifetime of Superstar Young ones showed the children sporting all around in Crib Rock Couture, after each one of these are the outfits that renowned couples like Angelina Jolie and Brad Pitt's little ones put on. If you're searching to the absolute coolest in socks, gloves, tights, flip flops, pajamas, and things like the rocking destination to head is always to a keep that carries designer manufacturer Very little Mismatched.
This can be another functional getting technique to affordable louis vuitton purses find cost effective family vacation totes for matches. Drop by credible web-sites, which includes Ebay and Amazon, to get available garment hand bags which can be for the second upwards pertaining to best taker. Ensure that you believe of a fantastic putting in the bid expense if you occur to find a complement purse solution through which you might be interested.

[b][url=http://www.salelouisvuittonbagsus.com/]www.salelouisvuittonbagsus.com[/url][/b] You do not have to depart your computer overnight simply because you are downloading a particular episode or a movie within your decision. It saves time, power and also electricity. For those who chose to look at series (dizi izle) on the web, it makes it possible for you to see it serious time, without having delays and without the need to hold out to get a quite extended time.
Usa 87: On March 26, 2006, BMW Oracle Racing christened SA 87. The hull is two feet shorter compared to older boat "USA 76" and encompasses a bow sprit. Even though this boat was originally considered to own a tandem keel, now it is established that the boat works by using a standard solitary strut keel..

[b][url=http://www.bestlouisvuittonukstore.co.uk/]louis vuitton uk[/url][/b] The standard Chinese millionaires are fifteen years youthful than their counterparts in other areas of the world, and their quantity may be fast increasing -- by 6.1%, to just about just one million in 2010. Finally, China's luxurious items marketplace was previously dominated by gentlemen, due to importance with the gift-giving lifestyle in organization. As a lot more females have entered the workforce, the proportion of luxurious goods they order has risen to in excess of 50 % the market total..

Anonymous said...

[b][url=http://www.luxurybrandssales.co.uk/]louis vuitton outlet[/url][/b] When a bag is definitely handmade, it really is unique generally and also displays a abilities as well as inventiveness of creator. Numerous gals within just Malaysia wish to hand-stitch purses and purses to become in a position to create a living with reference to homeowners. Their unique totes shall be splendidly stitched making use of astounding kinds, but regrettably they normally have identical and likewise far better made each and every factory-made purse..

[b][url=http://www.cheapuggbootsonlinedeal.com/]www.cheapuggbootsonlinedeal.com[/url][/b] It is possible to are classified as the sort a smaller range of amount of money bags that be looking out just slightly like any of people top-quality manner designer bags. Whenever your family will be the varieties a replica it not at any time like all of your close relatives are being which they are tricked into an all in one bogus or simply counterfeit. These Âœreplicas aren intended to be aware of more about screw up all of your members of the family into purchasing anything bogus and for appreciably more than all your loved ones are not these are placing it very simple a multi purposeful Âœknockoff being required to do with heading to generally be the true thing created with considerably less best with the line elements and workmanship.

[b][url=http://www.louisvuittonoutletis.com/]www.louisvuittonoutletis.com[/url][/b] You don't have to go away your laptop or computer overnight only simply because you are downloading a particular episode or maybe a movie of one's alternative. It saves time, energy and even energy. For those who selected to watch series (dizi izle) on the internet, it permits you to view it authentic time, without the need of delays and without needing to wait for the very long time.

[b][url=http://www.onlinesalewebsite.com/]www.onlinesalewebsite.com[/url][/b] Hip get instrumentals keep been fashioned meant for many years. Generally, beats have been fashioned as an instrumental just, if it was a sampled conquer which included a small portion of the pack of the by now famous track. On the other hand, it appears much more recording artists and singers as of deferred are on the lookout designed for beats by having an presently fashioned hook, or chorus verse to offer rise into the beat withstand out cold..

[b][url=http://www.louisvuittonoutletis.com/]louis vuitton handbags[/url][/b] Nothing else. Usually do not transform bedding or clean up the cage except if it's a dire unexpected emergency (this kind of just as if a h2o bottle leaks and wets a large portion of the housing space. When the bedding will get moist, it may possibly develop into moldy and unsanitary which might also upset the mother hamster and trigger her to not become a good mother to her litter.

[b][url=http://www.uggsoutletwebsite.co.uk/]www.uggsoutletwebsite.co.uk[/url][/b] Myth Amount 2. A freelance profession in creating is a breeze to acquire into. A job in producing is limited to creating content or textbooks. Almost certainly one of the most well-known one incorporates Prada, Prada, Fendi and Balenciaga. Fendi purses are exceptionally classy and superbly made. They may be offering their clients while in the earlier 90 many years.