homepage Welcome to WebmasterWorld Guest from 54.166.105.24
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
MS to steal your bad links
littleman




msg:945021
 7:05 am on Sep 8, 2001 (gmt 0)

Well, it is not smart tags, but it's close.
ugly ugly ugly [news.cnet.com]

 

grnidone




msg:945022
 4:15 pm on Sep 8, 2001 (gmt 0)

I can't make it happen. What version of IE causes this to happen?

-G

wasmith




msg:945023
 6:04 pm on Sep 8, 2001 (gmt 0)

They added it to the current release of version 6.

msr986




msg:945024
 7:27 pm on Sep 8, 2001 (gmt 0)

This can be disabled easily enough.

I don't like the feature so I turned it off!

MSR

Macguru




msg:945025
 7:47 pm on Sep 8, 2001 (gmt 0)

Is this "feature" happens even for custom 404 pages designed to help visitors find the way whitin the site?

littleman




msg:945026
 9:18 pm on Sep 8, 2001 (gmt 0)

It is like the old 404 error page in MSIE, think about how much revenue has been lost because it overrides the custom error page which many sites use to post a site map. I really don't know why people haven't made a fuss about that. It's not an issue for me because I control the header info on my pages, but it is for most sites.

If you are running apache you could circumvent this "feature" by having all your 404's rerouted to a nph script which will print out a good 200 header and then print up what you want. Create your own backdoor instead of having it lead to ms. It is your traffic.

Macguru




msg:945027
 9:27 pm on Sep 8, 2001 (gmt 0)

I agree with you 110% littleman. I will find some tutorial about this, it defenitly sound like another service to offer to my clients.

littleman




msg:945028
 10:52 pm on Sep 8, 2001 (gmt 0)

Put this in your .htaccess:
ErrorDocument 404 /nph-404.pl

The nph-404 script could look something like this:

#!/usr/bin/perl
my $dt = gmtime(time);
$dt =~ s/ / 0/g ;
my $dt2 .= $dt;
my ($day,$month,$mday,$time,$year,) = split(/ /,$dt2);
print "$ENV{'SERVER_PROTOCOL'} 200 OK\r\nDate: $day\, $mday $month
$year $time GMT\r\nServer: $ENV{'SERVER_SOFTWARE'}\r\nConnecton: close\r\n";
print "Content-Type: text/html\n\n";

print qq

<h1>Bill's not taking my money!!</h1><BR>

or whatever...

;
exit;

A thousand variations are possible, but that's the idea.

bigjohnt




msg:945029
 12:48 am on Sep 9, 2001 (gmt 0)

Monopoly on the Platform, monopopy on the desktop, monopoly on the browser, now the default 404 - next, the ONLY search engine allowed in IE?

littleman




msg:945030
 12:58 am on Sep 9, 2001 (gmt 0)

Just imagine what smart-tags would do, and you know there will be a round two.

littleman




msg:945031
 8:30 am on Feb 12, 2002 (gmt 0)

>if IE6 only displays the MSN search box if it can't finder your server, how is it going to find your server to run this script?

Of course the script won't do any good if IE is unable to resolve the domain name. That script is designed to circumvent IE's 404 splash.-- what it will display when a page isn't found.

When I first through that together I thought IE6 took all 404s over to that search box, not just unresolvable domains.

chiyo




msg:945032
 10:15 am on Feb 12, 2002 (gmt 0)

I cant see a reply to madgurus question. Does this apply to when just the domain is mistyped or also when a file name is mistyped, therefore overiding a site's 404 procedure (usually custom error page?)

I loved the example used by cnet for a mistyped url..

microsoft.con!

Marcia




msg:945033
 11:48 am on Feb 12, 2002 (gmt 0)

It does it only sometimes in IE5. I found out how to make it happen. An error in the domain name will bring up a dns error in 5 (it did with trying webbmasterworld), but typing http// instead of http:// leaving the colon out will bring this up:

[google.com...]

I made a change in the search feature of the browser so it defaults to Google. But wasn't too easy, a lot would probably let it go rather than bother.

chiyo




msg:945034
 12:08 pm on Feb 12, 2002 (gmt 0)

agree marcia. I dont think many would bother. I do use an IE browser a lot, and dont know how to do it without looking at the help, so even i will not change the default! iid guess much less than 1% will bother.

Robert Charlton




msg:945035
 3:32 am on Feb 13, 2002 (gmt 0)

Littleman - Thanks...

Littleman's post is actually a reply to a question I asked on another thread, about "404 pages in IE5 and IE6," asking about what the script is for.

[webmasterworld.com...]

>>That script is designed to circumvent IE's 404 splash.-- what it will display when a page isn't found.<<

If I understand your reply correctly, does this mean that the script really isn't necessary if IE6 can resolve your domain? I'm trying to figure out what to tell clients to do about their 404s to cover recent versions of IE.

To avoid the "friendly" message in IE5, as I understand it, if you make your 404 at least 512-bytes, you're supposed to be OK. About IE6... on the thread, mdharrold reports:

I just tried it with a 189 byte file. IE 6 displayed my page.

Does this mean that a 512-byte 404 will cover it for both browsers, and there's nothing further a client should really be worrying about?

backus




msg:945036
 1:26 pm on Feb 13, 2002 (gmt 0)

I really like this feature. I find it a massive help.

Tapolyai




msg:945037
 1:54 pm on Feb 13, 2002 (gmt 0)

>>I really like this feature. I find it a massive help

I am just waiting for the massively helpful targeted banner adds, and pop-ups using the lost name.

And since you don't need to go to that webmasterworld.com site for SE information, will just generate a 404 for you and provide all the appropriate information pointing to bCentral. What the heck, since we know what is best for you, we will let you type in any URL, but will use it as the search words to direct you to the right Microsoft site you must have wanted.

volatilegx




msg:945038
 5:43 pm on Feb 13, 2002 (gmt 0)

There is more than one way of looking at this feature.

There are 404 errors that are generated when a document at a known domain cannot be found. The functionality of the MS browser can be overridden by commands used in .htaccess files, as explained above.

Then there are the DNS errors, where you are trying to access a domain that doesn't exist, for example by having a typo in the domain you're trying to access. This cannot be overridden by commands in .htaccess, because the surfer never accessed your domain in the first place.

Robert Charlton




msg:945039
 6:06 pm on Feb 13, 2002 (gmt 0)

>>There are 404 errors that are generated when a document at a known domain cannot be found. The functionality of the MS browser can be overridden by commands used in .htaccess files, as explained above.<<

Again, I'm not sure what the script is intended to do. For a document at a known domain, is the script necessary, or will a larger than 512-byte 404 suffice?

The script seems to be intended to thwart functionality of the MS browser that maybe doesn't exist... which is the appropriation of all 404s. As I'm now understanding it, the browser only displays the MSN search box when an unknown domain is requested.

Please forgive repeated asking of an apparently very simple question...

pgsbs




msg:945040
 6:55 pm on Feb 17, 2002 (gmt 0)

As I webmaster I like the feature of the new 404 page. I generate quite some hits from it.

mdharrold




msg:945041
 7:17 pm on Feb 17, 2002 (gmt 0)

>>Again, I'm not sure what the script is intended to do. For a document at a known domain, is the script necessary, or will a larger than 512-byte 404 suffice?

The script is not necessary for a known domain. But, if you want your less than 512-byte 404 page to be seen by older IE versions, the script will make that happen. It also gives a no-parsed-headers (nph) strater script for those without mod-rewrite.

Robert Charlton




msg:945042
 8:30 am on Feb 22, 2002 (gmt 0)

>>The script is not necessary for a known domain.<<

mdharrold - Thanks... The script then seems like an elegant solution for a problem that doesn't really exist. ;)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved