Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

MOSS Search (OSSSearchResults.aspx) doesn't use the current Alternat

  Asked By: Ernest    Date: Feb 23    Category: MOSS    Views: 2405

1. Create an intranet portal site using web application: http://intranet.
Add a picture library MyPics to it. Add a few, say 3, pictures to the
library. Add the keyword "BillGates" to each picture.

2. Re-full-index the portal site to pick up the new pictures.

3a. Create a new "internet" web application by extending http://intranet to
create http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com using port 80 and host header
internet.fabrikam1.com.

3b. In DNS, add internet as an alias (CNAME) for the server hosting the
intranet site.

4. Search MyPics from the intranet site (http://intranet) searching for
BillGates. The url of each image is correct (displayed by right-clicking on
each preview image and looking at the the url property). (The server
portion of the other urls in the search result are also correct.)

5. Do the same search from the internet portal site
(http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com). The server portion (alternate access path)
of displayed URL and the url behind the preview image is correct BUT the url
of the image itself is not ...it is still using the http://intranet url
(when it should be using the http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com" target="_blank" rel="nofollow">http://internet.fabrikam1.com - the alternate
access path used to access the search page).

It appears OSSSearchResults.aspx is using the correct alternate access
mapping everywhere except for the url for the preview image in the IMG tag.

Questions

1. Is this a known bug in OSSSearchResults.aspx?

2. Is this fixed in SP1?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Candi Branch     Answered On: Feb 23

I suspect this is happening because of the way that alternate  access
mappings work. If I understand it correctly AAMs are used when you
retrieve a hyperlink from the content database. But the picture  isn't
being displayed  as a link, its being displayed as an image  so AAM is
never invoked. Another case of why the default mapping should probably
always be the most widely available address for the site.

 




Tagged: