I have a 404 script that was created in PHP by a RAC coder that I can no longer get in touch with. I need some very minor changes done to an ignore list in the script. Currently the ignore list is used to bypass the script but it contains exact matches. I need it changed to include partial matches? and? exact matches.
For example,
I'm receiving referer URLs (URI) like the following
Request URI: /support/[login to view URL]<[login to view URL]>??
Request URI: /_vti_bin/[login to view URL]<WBR>=4&BUILD=5606&STRMVER=4&CAPREQ<WBR>=0
Request URI: /MSOffice/[login to view URL]<WBR>=4&BUILD=5606&STRMVER=4&CAPREQ<WBR>=0
Is it possible to change the ignore list so that it ignores requests based on a pattern matching issue. For instance, if the Request has "MSOffice", then it would ignore it, or if the request had "[login to view URL]" in it, then it would be ignored for the 404.
This is the only change I need completed for the script. I'll provide completed script and allow you to make minor modification. I like the script the way it is, please do not rewrite script, just modify it.
I would have original coder complete it, but cannot get in touch with them anymore.
## Deliverables
I've included my original php script in the file attachment