I'm using ISA 2004 and publishing a couple of websites. One of the websites used to have two domain names and this has been changed so that the site now operates under only one domain name.
The problem is that there is quite a bit of code on the site that still refers to the old domain name and so I thought, Aha!, sounds like a job for Link Translation.
To that end I configured link tranlsation for that site's web publishing rule like so;
I made sure that all all the content types were selected.
What I expected was that every time I went to a page with, let's say, a link or page text referecing the old name I would instead see a seamless replacement with the new name. Unfortunately, this does not seem to be the case.
Am I doing something wrong or am I expecting too much? Many of the pages are PHP - would that make a difference?
> What I expected was that every time I went to a page with, let's say, a > link or page text referecing the old name I would instead see a seamless > replacement with the new name. Unfortunately, this does not seem to be the > case.
But does the page still work? The translation does not mean that it would change in the Address bar of the browser because the browser has no way to know that the translation happened. However I have never used Link Translation,..so that is a bit of a guess.
In the Code,...all links should be Relative,...and not include a Domain Name at all. Then there is nothing to translate.
The views expressed, are my own and not those of my employer, or Microsoft, or anyone else associated with me, including my cats. -----------------------------------------------------
> "Dave Onex" <d...@microsoft.com> wrote in message > news:udllQ1NWKHA.3720@TK2MSFTNGP02.phx.gbl... >> What I expected was that every time I went to a page with, let's say, a >> link or page text referecing the old name I would instead see a seamless >> replacement with the new name. Unfortunately, this does not seem to be >> the case.
> But does the page still work? The translation does not mean that it would > change in the Address bar of the browser because the browser has no way to > know that the translation happened. However I have never used Link > Translation,..so that is a bit of a guess.
> In the Code,...all links should be Relative,...and not include a Domain > Name at all. Then there is nothing to translate.
Thanks for the reply - I was hoping you'd see the post :-)
The pages do work - it's just that address translation does not :-( I was not looking for changes in the address bar. Basically, I was checking some references on certain pages to images that used the old domain name.
After configuring link translation I was really surprised to see that the images were missing because the domain name was not being translated. It was my understanding that ISA scanned all data going through the firewall and then, for all intents and purposes, did a search and replace.
I use relative URL's extensively but the site has somewhere around 15,000 pages and stuff always sneaks by. I ended up giving up on link translation and searched all static pages and replaced the URL's manually.
I then put together a SQL script that searched and replaced the same on all the dynamic pages. In the end, I'm about as certain as can be that I got them all but the thing is, my understanding of address translation is that it would fix this quite easily. I was surprised to see that it didn't.
I wonder if it might be related to using PHP on many of the pages. Mayve ISA can't scan PHP files? I don't know, but it's cased now.
> The views expressed, are my own and not those of my employer, or > Microsoft, > or anyone else associated with me, including my cats. > -----------------------------------------------------
I would have thought Link Translation would have worked too,...but it is one of those things I have never used,...I don't publish any sites that require it.
PHP would not have mattered, that is server-side only. ISA only sees and reacts to the client-side code.
-- Phillip Windell
The views expressed, are my own and not those of my employer, or Microsoft, or anyone else associated with me, including my cats. -----------------------------------------------------
> "Phillip Windell" <philwind...@hotmail.com> wrote in message > news:OMC68B$WKHA.4780@TK2MSFTNGP05.phx.gbl... >> "Dave Onex" <d...@microsoft.com> wrote in message >> news:udllQ1NWKHA.3720@TK2MSFTNGP02.phx.gbl... >>> What I expected was that every time I went to a page with, let's say, a >>> link or page text referecing the old name I would instead see a seamless >>> replacement with the new name. Unfortunately, this does not seem to be >>> the case.
>> But does the page still work? The translation does not mean that it >> would change in the Address bar of the browser because the browser has no >> way to know that the translation happened. However I have never used >> Link Translation,..so that is a bit of a guess.
>> In the Code,...all links should be Relative,...and not include a Domain >> Name at all. Then there is nothing to translate.
> Thanks for the reply - I was hoping you'd see the post :-)
> The pages do work - it's just that address translation does not :-( > I was not looking for changes in the address bar. Basically, I was > checking some references on certain pages to images that used the old > domain name.
> After configuring link translation I was really surprised to see that the > images were missing because the domain name was not being translated. It > was my understanding that ISA scanned all data going through the firewall > and then, for all intents and purposes, did a search and replace.
> I use relative URL's extensively but the site has somewhere around 15,000 > pages and stuff always sneaks by. I ended up giving up on link translation > and searched all static pages and replaced the URL's manually.
> I then put together a SQL script that searched and replaced the same on > all the dynamic pages. In the end, I'm about as certain as can be that I > got them all but the thing is, my understanding of address translation is > that it would fix this quite easily. I was surprised to see that it > didn't.
> I wonder if it might be related to using PHP on many of the pages. Mayve > ISA can't scan PHP files? I don't know, but it's cased now.
> Thanks! > Dave
>> -- >> Phillip Windell
>> The views expressed, are my own and not those of my employer, or >> Microsoft, >> or anyone else associated with me, including my cats. >> -----------------------------------------------------