Computer Forums

Go Back   Computer Forums > Internet > Website Development

Website Development HTML, traffic, hosting, and more... this is the forum for every webmaster.

Register Now for FREE!
Computer Forums

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2007, 11:47 PM
Thaylok's Avatar
Life is Weird, Embrace IT
 
Join Date: 06 Jun 2007
Location: Dallas Texas, USA
Posts: 526
Thaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond repute
Default IIS 5.1 Custom Errors Not Serving Images

Howdy all,
I've posted a few times to try to help others, but this is the first time I've been looking for some help. Guess what, I trust most of you enough to ask!!!

Anyway, I've been playing with IIS 5.1 (Win XP SP2 fully patched) for a while, no problems. I recently went in and customized some error messages, going VERY BASIC, stripping out asp code out of what was there, and spiffing up the text.

Normal site: graphics show properly.

Custom Error pages: Text shows, Graphic Placeholder shows, but no image.

So basically, I have the main part of the original error text, with my own comments and an apt graphic.

Tests: (in both IE and Firefox) (you can get the 404 with http://thaylok.is-a-geek.net/image.html or directory denial with http://thaylok.is-a-geek.net/KRC-Files/ )
Loopback address:
Using Loopback, I get the text and graphics with no problem
DYNDNS address:
I get the text, but no graphic
MMC Console:
Everything shows fine when browsing or opening (it pulls up the direct path and loopback)

The directory listing error should show a large green dragon, and the page not found should show a map-type image.

I have looked through the M$ knowledgebase to no avail. I did note that I had everything set up properly from what instructions they have on their site. However, their instructions and troubleshooting did not reference why graphics would not be served in the error pages. Most of their documentation has to do with adding dynamic functionality to the custom error pages.

Currently, I want static pages which I can modify later.

Has anyone ran across similar problems in the past?

As a side, I may request other help as I go through and work on some blog software I'm up to (after the error pages display properly).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-03-2007, 11:54 PM
Ash's Avatar
Ash Ash is online now
CF owner
 
Join Date: 27 Jul 2005
Location: Devon, UK
Posts: 4,130
Ash has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond repute
Default

Hmm... very odd indeed [I bet with Apache you wouldn't have this trouble! ]

If you don't mind - could you either post, or PM me the source to one of the pages you're having trouble? I might be able to see something in there. I can't say I'm too familiar with ISS though, since I prefer Apache...
__________________
Thanks,
Ash
CF Founder

Great Webhosting. Shared starting at $2 per month. VPSes starting at $6 per month.
www.Centicero.com

Want to get in touch? Send me a PM | Do you want to continue receiving free help? Or do you want this site to close? Become a premium member.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-04-2007, 12:04 AM
Thaylok's Avatar
Life is Weird, Embrace IT
 
Join Date: 06 Jun 2007
Location: Dallas Texas, USA
Posts: 526
Thaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond repute
Default

Quote:
Originally Posted by Ash View Post
Hmm... very odd indeed [I bet with Apache you wouldn't have this trouble! ]

If you don't mind - could you either post, or PM me the source to one of the pages you're having trouble? I might be able to see something in there. I can't say I'm too familiar with ISS though, since I prefer Apache...
I agree (apache), I'll get the info posted as soon as I get home, thanks in advance.

I do have apache running on my linux side and haven't had many problems that haven't been solved by the community., but I'm working on the M$ side so I can buff my resume some more.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-04-2007, 12:18 AM
Ash's Avatar
Ash Ash is online now
CF owner
 
Join Date: 27 Jul 2005
Location: Devon, UK
Posts: 4,130
Ash has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond repute
Default

I'm going to sleep now, but when I get up tomorrow, I'll pop in and have a look for you
__________________
Thanks,
Ash
CF Founder

Great Webhosting. Shared starting at $2 per month. VPSes starting at $6 per month.
www.Centicero.com

Want to get in touch? Send me a PM | Do you want to continue receiving free help? Or do you want this site to close? Become a premium member.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-04-2007, 03:03 AM
Thaylok's Avatar
Life is Weird, Embrace IT
 
Join Date: 06 Jun 2007
Location: Dallas Texas, USA
Posts: 526
Thaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond repute
Default

I believe I have a workaround. I had to move all of the custom error messages (and all the graphics) out of the directory they were in, and place them in the root directory for the web site. Then I redirected the custom error features (AGAIN) to the new file location.

I also found some inconsistencies with the files... In that: in some of the custom error pages, I had to reference the image source with a / but in others I had to leave off the / Why? I don't know, but I got it to start showing the images.

In one file (for the 404 page not found) I had to replace the junk script so that it shows my error page in IE. IE used its browser's default error page when the script was removed. It worked fine in Firefox.

I did not like this for several reasons, least of which it put more files in that web site root directory, and I'm a neat freak and minimalist when possible.

Thanks again for the help!!! I really do appreciate it, and look forward to helping othes some more!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-04-2007, 09:07 AM
Ash's Avatar
Ash Ash is online now
CF owner
 
Join Date: 27 Jul 2005
Location: Devon, UK
Posts: 4,130
Ash has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond reputeAsh has a reputation beyond repute
Default

One reason why IE is showing the default error page but not FF could be that it does not recognize custom error pages under 512 bytes [that doesn't include any graphics. Try adding some dummy text in the HTML comments to make sure it's over 512 bytes.
__________________
Thanks,
Ash
CF Founder

Great Webhosting. Shared starting at $2 per month. VPSes starting at $6 per month.
www.Centicero.com

Want to get in touch? Send me a PM | Do you want to continue receiving free help? Or do you want this site to close? Become a premium member.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 09-24-2007, 07:03 PM
Thaylok's Avatar
Life is Weird, Embrace IT
 
Join Date: 06 Jun 2007
Location: Dallas Texas, USA
Posts: 526
Thaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond reputeThaylok has a reputation beyond repute
Default

Quote:
Originally Posted by Ash View Post
One reason why IE is showing the default error page but not FF could be that it does not recognize custom error pages under 512 bytes [that doesn't include any graphics. Try adding some dummy text in the HTML comments to make sure it's over 512 bytes.
Thanks Ash, that helped a lot, I filled in all the junk, and that solved the problems. Sorry I did not reply sooner, I was working on other aspects of the site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:25 AM.



Powered by: vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Content © Copyright 2005-2008 CompuForums. All Rights Reserved. Some content © Copyright of the respective owners.
Cheap Gas - Cheap Gas - Internet Marketing - Credit Counseling

Content Relevant URLs by vBSEO 3.2.0 RC5