logo

Direct/Relative Links in Extranet vs. Intranet Issue

Gluec posted on Friday, August 17, 2007 7:56 PM

I've been fighting this problem for awhile now and have got to be missing
something.

My setup is this I have a single MOSS 2007 server running our Intranet
(http://sharepoint) and our Extranet (http://sharepoint.hcss.com.   I have
setup the alternate acess mappings.   I can access both the Intranet &
Extranet just fine.  The issue I have is with direct links to the Intranet
address won't work if accessing it from the Extranet.   I can work around
this by manually editing the links to be relative links and I have done this
for the most part.

Certain templates like the Knowledge Base have these common actions links in
the Quick Launch bar which are required to be direct links. If I edit the
links to be relative, the page won't load correctly (weird I know).   Also,
the rich text editor in a content web part automatically makes direct links
to images when inserting them.   I can edit these fine in the HTML editor but
its a real hassle everytime someone updates a section because it then
recreates the links into direct links.  MySites also have some issues with
creating direct links to certain things.

Is there something I am missing in the configuration or is this just one of
the many quirks of SharePoint that I have to live with?

Any help is appreciated!  Thanks

How exactly have you setup your AAM?

Mike Walsh posted on Saturday, August 18, 2007 2:54 AM

How exactly have you setup your AAM?

With default set to http://sharepoint and any of the other settings (say
Extranet) set to http://sharepoint.hcss.com, every time you use
http://sharepoint.hcss.com to access your site, it should be accessing
all links in the site (which are naturally of the form //sharepoint
only) correctly.



Mike Walsh
WSS FAQ http://www.wssfaq.com
no questions by e-mail please

Thanks for the reply Mike.

Gluec posted on Saturday, August 18, 2007 3:12 AM

Thanks for the reply Mike.

http://sharepoint set as default zone
http://sharepoint.hcss.com is set to the extranet zone
I do not have anything set for intranet or internet zones.

I hope this is what you are asking me for.   Thanks again for your help.

That's what I was asking.

Mike Walsh posted on Saturday, August 18, 2007 3:19 AM

That's what I was asking.

I haven't experienced anything like this once I'd set up AAM correctly -
I had problems with direct links before AAM was right but not since.

(and your definition looks fine to me)

Sorry to be no more help.

Mike Walsh

For the most part the menu and quick link bars work fine.

Gluec posted on Saturday, August 18, 2007 3:36 AM

For the most part the menu and quick link bars work fine.  The main issue I
have is with the content editor web part's Rich Text Editor.   If a
contributor inserts an image while logged on to the intranet it direct links
to http://sharepoint/sitecollectionimages/whatever.jpg  then if the user logs
into http://sharepoint.hcss.com they see a broken link.      If I edit the
HTML source in that same web part and remove the server name it works fine,
but that is extremely cumbersome.

I could live with the other quirky links as there is other ways to use the
common actions by going to the list directly and click new or upload.

I'm just wondering if this is a bug or something I've done wrong in the
setup.  If you have time could you test it with the content editor web part?

Thanks for checking on that Mike. At least I'm not going crazy over here.

Gluec posted on Saturday, August 18, 2007 12:54 PM

Thanks for checking on that Mike.   At least I'm not going crazy over here.

I have done that on my machine's Hosts file and that works if the user uses
the same computer when accessing it via the extranet.   I was just hoping for
something I could do server-side so that it would fix it for every user in
the company no matter what computer they are using.  Oh well, I guess its
just another one of those things I have to live with.

I've thought of using Javascript that will detect what incoming IP the user
is coming from and add the servername based on that but I don't know how that
will work with automatically generated HTML by the text editor.

I think I found the easiest way is to use a version of ISA which includes link

Gluec posted on Sunday, August 19, 2007 1:04 PM

I think I found the easiest way is to use a version of ISA which includes
link translation.   I will have to get a copy from our MSDN library and test
with it.   I hope its fairly easy to use!


Didn't Find The Answer You Were Looking For?

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Create Account & Ask Question In Live Forum





Pete's Resume  |  Robbe's Resume  |  Neado  |  Free Icons  |  Privacy  |   (c) 2010