This is a funny one that's just started happening. Changes I've recently made:
- Updated website (not major update, small code changes/bug fixes)
- Added URL re-write rules to 301 forum to different domain
Site otherwise has been untouched for many many weeks (perhaps months).
All re-written URL's seem to be affected. The URL's work fine for a while, then all of a sudden we start getting:
404 directory not found
On these URL's. I can't for the life of me work out why this is, and what's causing it. Event viewer doesn't seem to show anything relevant.
Rebooting server fixes it temporarily, as does restarting IIS. Recycling app pool sometimes works temporarily.
Windows Server 2008 R2
Website target framework 4.5.2
IIS 6.1 Build 7601 SP1
IIS app-pool framework 4.0
Single application app-pool (not shared)
Does anyone have any ideas on what could be causing this, or how to investigate further? This could start hurting us badly. Any help much appreciated.
Got it to return detailed error information, and is returning this:
Detailed Error Information Module IIS Web Core Notification MapRequestHandler Handler StaticFile Error Code 0x80070002 Requested URL https://www.scirra.com:443/tutorials/top Physical Path C:\inetpub\wwwroot\Scirra\tutorials\top Logon Method Anonymous Logon User Anonymous
Obviously the physical path requested doesn't exist.
Here's a sample from the log file, where the
2 appears to be
2018-06-02 17:26:44 108.xx.xx.xx GET /store - 443 - 172.xx.xx.xx Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/66.0.3359.181+Safari/537.36 404 0 2 280