Forum Discussion

hoangtoon_29588's avatar
hoangtoon_29588
Icon for Nimbostratus rankNimbostratus
Apr 19, 2018

Site can't be reached after enabling URL rewrite in IIS to remove aspx extension

Hi, hope you can help us with this. We are trying to use URL Rewrite on IIS to remove aspx extension from the URL so instead of http://abc.domain.com/status.aspx it will be http://abc.domain.com/status

 

So after we enable this, it works, but when we put F5 to the equation, the site cannot be reached anymore. In the Pool says the member node is Offline. So seems like F5 doesn't recognize the URL that doesn't have aspx? Do you think if this is something related to Health check? The current Helthcheck is: GET /status.aspx HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n\r\n

 

How can we setup the Health Monitor for the site without the aspx extension? Please advise. Thank you in advance

 

Hoang

 

1 Reply

  • If you've modified IIS to rewrite/remove the aspx extension on the status page, wouldn't your health check need to be updated to be

    GET /status HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n\r\n
    

    Have you attempted to use curl to simulate the monitor connection, so you can see the response?