I have a LastChance Content Finder I setup and if I put in a url like http://abc.com/def, it hits it, but if I try to access http://abc.com/def/abc.txt, it does not hit the content finder.
This was working before so I am curious if I am doing something wrong or if there is something I need to do?
Mysteriously, it just started working with my existing settings. When I set it to Detailed and PassThrough, I could not get it to work, but the other way did.
By the way, I love your projects. I use them all the time.
Text file in url does not execute ContentFinder?
Hi,
I have a
LastChance Content Finder
I setup and if I put in a url likehttp://abc.com/def
, it hits it, but if I try to accesshttp://abc.com/def/abc.txt
, it does not hit the content finder.This was working before so I am curious if I am doing something wrong or if there is something I need to do?
Thanks, Saied
I think Umbraco will only intercept calls for .aspx files and not static files.
Hi Dan,
This was working before though. It would intercept the call for the static file. I did a deploy yesterday and it stopped working.
Thanks, Saied
Have you tried diffing your
web.config
andumbracoSettings.config
files to see if any changed between deploys?At bottom of
umbracoSettings.config
you usually need to set trySkipIisCustomErrors to "true" like so:You may also need to add (or amend) in
system.webserver
inweb.config
this:Dan,
I just looked and when it was working it had:
<httpErrors errorMode="Custom" existingResponse="Replace">
and
trySkipIisCustomErrors="false"
I couldn't see any other differences.
Hi Dan,
Mysteriously, it just started working with my existing settings. When I set it to Detailed and PassThrough, I could not get it to work, but the other way did.
By the way, I love your projects. I use them all the time.
Thanks, Saied
is working on a reply...