homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

.htaccess works with netscape but not IE

 9:44 pm on Jun 3, 2003 (gmt 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




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


.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...



 10:04 pm on Jun 3, 2003 (gmt 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 Jun 3, 2003 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
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