Vishal_96707
Feb 27, 2009Nimbostratus
Urgent 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,