Redirection to Mysite from Site collections - Sharepoint
This is a discussion on Redirection to Mysite from Site collections - Sharepoint ; Hello Arduk,
I consulted some internal fellow and found that this issue is by design.
Inside userdisp.aspx, it will try to get MySite profile URL and then do a
redirect. However, for security consideration, it only redirects to a URL
...
-
RE: Redirection to Mysite from Site collections
Hello Arduk,
I consulted some internal fellow and found that this issue is by design.
Inside userdisp.aspx, it will try to get MySite profile URL and then do a
redirect. However, for security consideration, it only redirects to a URL
which SPS thinks it is safe. Following URLs are considered safe in
redirection:
1. Under same host name as the original URL. i.e. portal at
http://server:80, and my site under http://server:8080.
2. The URL to be redirect is Portal URL. That is, if we set Portal site
connection (from site actions -> site settings -> Portal site connection)
to be http://mysite.domain, http://mysite... will then be considered as
safe URL.
3. Loop back addresses like http://localhost, http://127.0.0.1.
Unfortunately, for URL like http://mysite.domain, although we know it is
safe, MOSS does not think it is a safe URL and will not allow redirection
to happen.
We can set portal site connection to my site in portal site. Then MOSS will
treat my site as a safe site.
1.Go to the SSP Admin site, My Site Settings, and select and copy the
personal site provider URL to your clipboard.
2.Now navigate back to the Site Collection whose people links are not
redirecting as you desire, go to Site Settings, and under Site Collection
Administration, click on Portal site connection.
3.In the Portal Site Connection Page, paste the personal site provider URL
from your clipboard into the Portal Web Address. For the Portal Name field,
enter text according to your preference. The Portal Name field is used as
the text for the top of the breadcrumbs in the site collection. The Portal
Name field cannot be left blank, so if you wish to de-emphasize the MySite
root at the top of the navigation breadcrumb, you might choose an
unassuming single character such as <. Click OK to save your changes.
4.After completing the above steps, test the behaviour of the people name
links within the site collection to confirm they are now redirecting to
person.aspx as desired.
Hope this helps.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
-
RE: Redirection to Mysite from Site collections
Thanks again for your very prompt response!
I guess I will have to give up on this, and explain to users that it can't
be done.
I was aware of the solution you provided below that redirects to the
appropriate Mysite if the mysite is defined as the portal connection. This
means though that everyone will then have their mysite as the root of the
breadcrumb, and not the home page of our intranet (http://intranet) as we
desire. This is far from ideal.
Perhaps you could suggest to your colleagues that each site collection
should have a connection to the mysite collection, as well as a portal
connection. This would be a very simple solution to this problem. I am sure
that we are not the only company who has run into this situation.
Thanks again for your assistance - I really appreciate the time and research
you have put into helping me with this.
"Wei Lu [MSFT]" wrote:
> Hello Arduk,
>
> I consulted some internal fellow and found that this issue is by design.
>
> Inside userdisp.aspx, it will try to get MySite profile URL and then do a
> redirect. However, for security consideration, it only redirects to a URL
> which SPS thinks it is safe. Following URLs are considered safe in
> redirection:
>
> 1. Under same host name as the original URL. i.e. portal at
> http://server:80, and my site under http://server:8080.
>
> 2. The URL to be redirect is Portal URL. That is, if we set Portal site
> connection (from site actions -> site settings -> Portal site connection)
> to be http://mysite.domain, http://mysite... will then be considered as
> safe URL.
>
> 3. Loop back addresses like http://localhost, http://127.0.0.1.
>
> Unfortunately, for URL like http://mysite.domain, although we know it is
> safe, MOSS does not think it is a safe URL and will not allow redirection
> to happen.
>
> We can set portal site connection to my site in portal site. Then MOSS will
> treat my site as a safe site.
>
> 1.Go to the SSP Admin site, My Site Settings, and select and copy the
> personal site provider URL to your clipboard.
>
> 2.Now navigate back to the Site Collection whose people links are not
> redirecting as you desire, go to Site Settings, and under Site Collection
> Administration, click on Portal site connection.
>
> 3.In the Portal Site Connection Page, paste the personal site provider URL
> from your clipboard into the Portal Web Address. For the Portal Name field,
> enter text according to your preference. The Portal Name field is used as
> the text for the top of the breadcrumbs in the site collection. The Portal
> Name field cannot be left blank, so if you wish to de-emphasize the MySite
> root at the top of the navigation breadcrumb, you might choose an
> unassuming single character such as <. Click OK to save your changes.
>
> 4.After completing the above steps, test the behaviour of the people name
> links within the site collection to confirm they are now redirecting to
> person.aspx as desired.
>
> Hope this helps.
>
> Sincerely,
>
> Wei Lu
> Microsoft Online Community Support
>
> ==================================================
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights
-
Re: Redirection to Mysite from Site collections
Hi, I have been reading this trail and is exactly what i have been
trying to do in our intranet environment as well, as posted above. I
was able to add the redirect to mysite from userdisp.aspx by modifing
the userdisp.aspx. my code, checks wheather the user has a mysite or
not, and finds out the url for mysite dynamically, and then redirects
to thier mysite, if they dont have a mysite then the code stops at the
userdisp.aspx. I dont know if it is ideal code or not, i am not sure
about the performance and stuff, but it certainly gets the job done. I
still am looking for a better way to do this but untill then we are
going to use the code that i came up with. Please let me know your
comments on this
cheers
On Sep 25, 7:40 am, arduk <ar...@nospam.nospam> wrote:
> Thanks again for your very prompt response!
>
> I guess I will have to give up on this, and explain to users that it can't
> be done.
>
> I was aware of the solution you provided below that redirects to the
> appropriate Mysite if the mysite is defined as the portal connection. This
> means though that everyone will then have their mysite as the root of the
> breadcrumb, and not the home page of our intranet (http://intranet) as we
> desire. This is far from ideal.
>
> Perhaps you could suggest to your colleagues that each site collection
> should have a connection to the mysite collection, as well as a portal
> connection. This would be a very simple solution to this problem. I am sure
> that we are not the only company who has run into this situation.
>
> Thanks again for your assistance - I really appreciate the time and research
> you have put into helping me with this.
>
>
>
> "Wei Lu [MSFT]" wrote:
> > Hello Arduk,
>
> > I consulted some internal fellow and found that this issue is by design.
>
> > Inside userdisp.aspx, it will try to get MySite profile URL and then do a
> > redirect. However, for security consideration, it only redirects to a URL
> > which SPS thinks it is safe. Following URLs are considered safe in
> > redirection:
>
> > 1. Under same host name as the original URL. i.e. portal at
> >http://server:80, and my site underhttp://server:8080.
>
> > 2. The URL to be redirect is Portal URL. That is, if we set Portal site
> > connection (from site actions -> site settings -> Portal site connection)
> > to behttp://mysite.domain,http://mysite... will then be considered as
> > safe URL.
>
> > 3. Loop back addresses likehttp://localhost,http://127.0.0.1.
>
> > Unfortunately, for URL likehttp://mysite.domain, although we know it is
> > safe, MOSS does not think it is a safe URL and will not allow redirection
> > to happen.
>
> > We can set portal site connection to my site in portal site. Then MOSS will
> > treat my site as a safe site.
>
> > 1.Go to the SSP Admin site, My Site Settings, and select and copy the
> > personal site provider URL to your clipboard.
>
> > 2.Now navigate back to the Site Collection whose people links are not
> > redirecting as you desire, go to Site Settings, and under Site Collection
> > Administration, click on Portal site connection.
>
> > 3.In the Portal Site Connection Page, paste the personal site provider URL
> > from your clipboard into the Portal Web Address. For the Portal Name field,
> > enter text according to your preference. The Portal Name field is used as
> > the text for the top of the breadcrumbs in the site collection. The Portal
> > Name field cannot be left blank, so if you wish to de-emphasize the MySite
> > root at the top of the navigation breadcrumb, you might choose an
> > unassuming single character such as <. Click OK to save your changes.
>
> > 4.After completing the above steps, test the behaviour of the people name
> > links within the site collection to confirm they are now redirecting to
> > person.aspx as desired.
>
> > Hope this helps.
>
> > Sincerely,
>
> > Wei Lu
> > Microsoft Online Community Support
>
> > ==================================================
>
> > When responding to posts, please "Reply to Group" via your newsreader so
> > that others may learn and benefit from your issue.
>
> > ==================================================
> > This posting is provided "AS IS" with no warranties, and confers no rights- Hide quoted text -
>
> - Show quoted text -
-
RE: Redirection to Mysite from Site collections
Hello Arduk,
Thanks for your understanding. I have send your feedback to the product
team and they will put it into consideration.
Other method as kbasrai mentioned in his post is that you may need to
modify the code of userdisp.aspx page and so that you could redirected to
the right MySite.
You may contact him for further discussion. Thanks!
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Similar Threads
-
By Application Development in forum Sharepoint
Replies: 2
Last Post: 12-14-2007, 04:50 PM
-
By Application Development in forum Sharepoint
Replies: 3
Last Post: 11-16-2007, 05:19 PM
-
By Application Development in forum Sharepoint
Replies: 1
Last Post: 11-11-2007, 07:31 AM
-
By Application Development in forum Sharepoint
Replies: 0
Last Post: 06-26-2006, 05:58 AM
-
By Application Development in forum Inetserver
Replies: 1
Last Post: 07-22-2003, 10:09 PM