SharePoint - Direct/Relative Links in Extranet vs. Intranet Issue

Asked By Gluec
17-Aug-07 07: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
SharePoint
(1)
MOSS 2007
(1)
MySites
(1)
Javascript
(1)
Extranet
(1)
Glueck
(1)
Sitecollectionimages
(1)
Servername
(1)
  Mike Walsh replied...
18-Aug-07 02: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
  Gluec replied...
18-Aug-07 03: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.
  Mike Walsh replied...
18-Aug-07 03: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
  Gluec replied...
18-Aug-07 03: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?
  Mike Walsh replied...
18-Aug-07 08:14 AM
Yes. I can see the same thing. (With in my case a <A etc. link to a List
in the site)

The HMTL written in a Content Editor web part is not regarded as a part
of the SharePoint system and therefore AAM doesn't apply to it. That
would be my guess as to why this (isn't / is) happening.

You can clear it though no doubt by adding the servername to your Hosts
file as then the link will find the server.

Mike Walsh
  Gluec replied...
18-Aug-07 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.
  Gluec replied...
19-Aug-07 01: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!
Create New Account
help
Difference between MOSS 2007 & MOSS 2007 for search SharePoint Can anybody give me (a link to) the difference between MOSS 2007 & MOSS 2007 for search? I have read something about more search functionality in MOSS 2007, is
Outgoing emails in Sharepoint 2007 (MOSS 2007) SharePoint Hi, What can be wrong in our Front end server? MOSS does not send any emails or alerts? I have copied SMTP settings from Sharepoint 2003 where everything works fine. I haven't found any error messages from event viewer or log files. SharePoint Setup Discussions MOSS (1) SMTP (1) LIM (1) Administrator (1) Server (1) Sharepoint (1) Firewall
migrating sites from WSS2 -> MOSS 2007 SharePoint , MOSS, 2007" / > We have a new MOSS 2007 farm set up and working. We have an old WSS2 server set up and working as a whole. Either upgrading the box to WSS3, or migrating the DB into a MOSS install. Is there a best-practices method for moving individual sites from an existing WSS2
Public Folders in MOSS 2007 SharePoint I have the following questions with regard to Public Folders in MS Office SharePoint Server 2007 (MOSS 2007). Could someone please answer these? - -- -- -- -- -- -- - 1. How do people post to the public folders in MOSS 2007? 2. Does an organization have to install MS Exchange Server or any other SMTP
good sharepoint book SharePoint Can somebody recomend book(s) on sharepoint (MOSS 2007)? SharePoint Discussions Windows SharePoint Services (1) SharePoint Server 2007 (1) Microsoft Project (1) SharePoint 2010 (1) SharePoint (1) Office (1) SPD (1