Forum Discussion
ozgur_guler_344
Nimbostratus
Dec 30, 2009Sharepoint URL redirect problem
Hello;
Sharepoint is open on port 81 on servers. So pool members are defined as XXXX:81. However virtual server is working on port 80.
Firstly when we tried access URL XXXX, it replied us with XXXX:81. So it wasn't working. The we created an irule and solved this issue. You can find it below.
Now; the problem is only about creating new user at sharepoint portal. When we go through Site Actions>Site Setup>Users and Groups and click to "New User", it again replies as http://XXXX:81/_layouts/aclinv.aspx?GroupId=5&Source=http%3A%2F%2Fnewportal%2F%5Flayouts%2Fpeople%2Easpx%3FMembershipGroupId%3D5, so doesn't work. If i delete ":81" and try again it works.
Althugh there is an irule that replaces 81 to 80, why i get this result when only creating a new user?
IRULE:
when HTTP_RESPONSE {
Check if server response is a redirect
if { [HTTP::header is_redirect]} {
Log original and updated values
log local0. "Original Location header value: [HTTP::header value Location],\
updated: [string map ":[TCP::remote_port]/ /" [HTTP::header value Location]]"
Do the update, replacing :
HTTP::header replace Location [string map -nocase {81 80} [HTTP::header value Location]]
}
}
- hoolio
Cirrostratus
Hi Ozgur, - ozgur_guler_344
Nimbostratus
The above irule fixes most of the problem. Now i see this problem, only when creating a new user at sharepoint portal - hoolio
Cirrostratus
So then the second part of my comment applies:
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects