Results 1 to 9 of 9

Thread: [2005] web.config files error handler

Threaded View

  1. #7

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    592

    Re: [2005] web.config files error handler

    I agree about godaddy but i must find solution or change the hosting company as i have multiply domains to ONE account. As per the contacting godaddy; Well i have asked them 24+ hours ago and i am still waiting an answer. lol

    Ok i will try to explain the problem simplest possible so maybe we can still find some solution.

    It is pretty same idea like those tinyurl (tinyulr.com) website implements. Just please notice that i am not trying to make a clone of it or something. It is so overused and actually there is so many free tinyurl solutions that it's nonsense that i make one more service of that kind.

    Rather i want to make that althrough i have multiply domains hosted on a single account that each of them has own 404 error page. That's why i cannot use their generic error page or my single error page .. it is odd that i redirect you to domainB/error404.aspx if you are visiting domainA or domainC

    Actually i found this URL Rewritting article and it seems very str8 solution for IIS7 but i have an account which is running under IIS 6.0 and i found that actually Extension-less URL Rewriting for IIS5 and IIS6 is not so easy.

    What is nice about this sample and technique is that no server configuration changes are required in order to deploy an ASP.NET application using this approach. It will also work fine in a medium trust shared hosting environment (just ftp/xcopy to the remote server and you are good to go - no installation required).

    In addition, i was wondering if i need so complicated solution at all. Actually i figured out that when you type www.domain.com/123 it refers to directory 123 even i expect that it refers a file. So maybe this will give you an idea how can i sort this problem out and make it that when you enter domain.com/123 you are always redirected to domain.com/error404.aspx (if the file/page exists it just proceed normally)

    Thanks in advance Master MENDHAK
    Last edited by selanec; Jul 16th, 2008 at 04:25 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width