I created a customized 404 page in IIS. If a user types in the name of one of our employees in the url: www.ourdomain.com/firstname the 404 page grabs the firstname and forwards you to the bio page for that person. If it doesn't find the string as a name it just serves up our custom 404 error page.
This is working beautifully with one exception. When you are using Time Warner as your ISP instead of loading the custom 404 page I get an error message that says, "The connection was reset...." it has a try again button at the bottom.
Any ideas on how I can get Time Warner to serve up my custom 404 error message?
I came up with this on the Mozilla Forum, it appears to be ISP's and their greed. Re-routing 404 traffic to pages of their choice likely to improve revenue. It appears the best method is to complain to their customer service however I'm unsure how it will help if its only been a few to complain (so far).
UPDATE
It appears someone has found a way to disable this.
Related
Is there any way to intercept SharePoint error messages in IIS?
For example, when I type this url: https://mywebsite.com/~.aspx, SharePoint answers with its own error page that says:
Sorry, something went wrong
The file or folder name contains characters that are not permitted. Please use a different name.
I would like to intercep this error message (and all SharePoint error messages) and redirect to my own custom error page.
Please note that:
When SharePoint shows this error in its own error page, the url remains the same (https://mywebsite.com/~.aspx)
When I inspect the page (F12) in the Network tab (using Chrome) the response is 200 OK, so no SharePoint is not reporting the error number back.
I expect to be able to somehow configure IIS in order to intercept any SharePoint errors and then show a custom made page instead of showing the standard and internal SharePoint error pages.
I have a situation here, on iis logs I see the /CMSPages/PortalTemplate.aspx causing 404 errors but the requests are still fulfilled.
The question that I have is how do I stop these 404 errors from being logged since the website still works. I only want to see the real 404 erros which occur when the request URL is invalid
I am using the Portal Engine approach
In the IIS log, find out what the parameters after the /CMSPages/PortalTemplate.aspx causing the 404. You may be able to see these 404 errors in the Kentico Event Log as well. The majority of the requests to deliver page content goes through the /CMSPages/PortalTemplate.aspx page which is why you're seeing it in the IIS logs.
Once you find the record which has the 404 info, you should be able to find the path to the file and resolve it.
Check your network tab in your favorite browser. Usually there is a favicon or woff font not being served.
I have a classic asp web application in which I've created a custom friendly 404 page. Also within that page, I have logic to email me the 404 info so I can check it out as to why it happened.
One of the pieces of info I email to myself is
Request.ServerVariables("HTTP_REFERER")
As I understand it, it should tell me the origin of the 404, ie. the page which is making the request to the file that doesn't exist.
However, I get notifications where the Referer is referencing a page in my site that doesn't exist in the first place. How can this be? Am I pulling the wrong ServerVariable? Is someone trying to do some cross site scripting?
Where can i find the default htm file, mapped to show the 404 error in Sharepoint service 2.0. Currently whenever the request for a site hits the 404 error, it goes to the default page, but the point to note here is, which is not the one we set in IIS custom error option.
My requirement here is to make few modification in the 404 error page. I tried mapping the request to a custom error page with <customErros> tag in web.config. But unfortunately, its still showing the default 404 error page. When i checked the viewsource of the error page i can see some comments like, res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
Any idea about this? Thanks in advance
I haven't had to do this but this entry looks quite reasonable: http://blogs.msdn.com/b/jingmeili/archive/2007/04/08/how-to-create-your-own-custom-404-error-page-and-handle-redirect-in-sharepoint-2007-moss.aspx
Basically when you install WSS it hi-jacks IIS. You can still do most of the things you would expect but you need to go through the Central Administration pages and the XML files that control many aspects of SharePoint.
OK...I am going crazy...
I have a Magento store in a /store/ directory. The homepage displays fine and users are able to make purchases, but to bots it's showing a 404 status code.
So /store/ and /store/index.php are both 404 header responses but I can navigate to those pages and browse the website from there. I've never seen this before.....blah
When I crawl the site with Xenu from the http://www.mywebsite.com/store/ URL it says it's 404 and the title shows, "redir" so I am assuming there is some redirect somewhere that I am missing(?)....
Any help is appreciated...I may need to explain this better so if so, I will gladly :)
Thanks in advance!
I appreciate all the help!
Somehow, changing the CMS page assigned as the homepage fixed the problem. The original homepage was calling some entity that returned a 404 error in turn giving a 404 error for the entire page.
Really not sure what happened...but like I said, changing the CMS homepage solved the problem!
Have you tried browsing your site with browser and a user agent switcher? There are examples of Magento being unable to build collections when the user agent is one of the bots which is explicitly left out of the log information.