Forum Discussion
Vishal_96707
Nimbostratus
Feb 27, 2009Urgent Help - Sharepoint search crawl failing
We have sharepoint 2003 and sharepoint 2007 environments setup on F5. We are migrating from sharepoint 2003 to SP 2007. We had configured iRule which was capturing "404" and "File Not Foud" msgs from 2003 environments and redirecting to 2007 environments. We are not having issues with the sharepoint search crawl. The sharepoint search crawl fails with the iRules however everything works fine without iRules. Can someone help me? We are in the process of getting new environment in production soon.
The below logic is combined in one iRule.
when HTTP_REQUEST {
set MYHOST [HTTP::host]
set MYURL [HTTP::uri]
}
when HTTP_RESPONSE {
if { [HTTP::status] ends_with "404" }
{HTTP::redirect "https://intranet.bmc.com/_layouts/redirects/Default.aspx?URL=$MYHOST$MYURL"}}
when HTTP_REQUEST {
set MYHOST [HTTP::host]
set MYURL [HTTP::uri]
}
when HTTP_RESPONSE {
if { [HTTP::payload] contains "File Not Found" }
{HTTP::redirect "https://intranet.bmc.com/_layouts/redirects/Default.aspx?URL=$MYHOST$MYURL"}}
Thanks in advance,
- hoolio
Cirrostratus
What are the symptoms of the issue? Do you think the problem is just with the URIs that are being redirected? If so, do you know whether the spider will follow 302 redirects? Maybe the spider only follows 301 redirects. If that's the case, you could change HTTP::redirect... to something like: - Vishal_96707
Nimbostratus
http://sptest.bmc.com/SMTIndia
- Vishal_96707
Nimbostratus
Symptoms, - hoolio
Cirrostratus
Does the issue occur on every request or just the ones that trigger the iRule redirect? Are you redirecting the spider to a site which it doesn't have access to? - Vishal_96707
Nimbostratus
Some more tests.. - Vishal_96707
Nimbostratus
The issue has been reolved by bypassing index server hitting redirection logic in iRule.
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