Welcome to WebmasterWorld Guest from 54.167.46.29

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess works with netscape but not IE

     
9:44 pm on Jun 3, 2003 (gmt 0)

New User

10+ Year Member

joined:June 3, 2003
posts:2
votes: 0


i have the .htaccess setup to show a custom error page but it only shows up properly on Netscape.
On IE it displays the default IE 404 error page.

here is the contents of the .htaccess file

ErrorDocument 404 /404.html

Thanks

9:51 pm on June 3, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


hwastrike,

.htacess is not browser-dependent, since it's executed soley on the server.

IE does it's users a "favor" by displaying a "Friendly" error page if the site's error page is short. Try making your custom error page longer and see if that helps.

Also, this may depend upon the "Show friendly HTTP error messages" setting in Internet Options-Advanced.

If you make your custom error page long enough, I believe it will override the setting.

Thanks, all-knowing M$ - We are not worthy...

Jim

10:04 pm on June 3, 2003 (gmt 0)

New User

10+ Year Member

joined:June 3, 2003
posts:2
votes: 0


thanks a lot jdMorgan.
i have the problem resolved. Turns out the custom error page was too short and IE was overridding it with its own page. I just lengthened the content and it worked out fine. Thanks again.
10:14 pm on June 3, 2003 (gmt 0)

Administrator

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 2, 2000
posts:9685
votes: 0


Research shows that short error pages use an insufficient amount of bandwidth, memory, and CPU power - hence the MS penalty. :)