Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Larry Woods

    Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

    I have a custom 404 error page. When I change my site properties in IIS
    (IIS 5.0, BTW) to point to a file, I still get the original 404 error page.
    But, then I copied my error page to my root, then pointed to it via URL and
    it works! BUT, I would prefer to use the file page instead of the URL.

    Any ideas where I should look for the problem?

    TIA,

    Larry Woods

    (cross-posted to ...inetserver.i is;inetserver.m isc)



  • Curt_C [MVP]

    #2
    Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

    I use URL with great success. Just out of curiosity, why dont you want to?

    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    Site: http://www.Darkfalz.com
    Blog: http://blog.Darkfalz.com


    "Larry Woods" <larry@NOSPAMlw oods.com> wrote in message
    news:%23c1JyCGZ EHA.2972@tk2msf tngp13.phx.gbl. ..[color=blue]
    > I have a custom 404 error page. When I change my site properties in IIS
    > (IIS 5.0, BTW) to point to a file, I still get the original 404 error[/color]
    page.[color=blue]
    > But, then I copied my error page to my root, then pointed to it via URL[/color]
    and[color=blue]
    > it works! BUT, I would prefer to use the file page instead of the URL.
    >
    > Any ideas where I should look for the problem?
    >
    > TIA,
    >
    > Larry Woods
    >
    > (cross-posted to ...inetserver.i is;inetserver.m isc)
    >
    >
    >[/color]


    Comment

    • Larry Woods

      #3
      Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

      Good question. Probably should. It just bugs me that I can't use the file
      name.

      Larry
      "Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
      news:%232Xi9MGZ EHA.3112@tk2msf tngp13.phx.gbl. ..[color=blue]
      > I use URL with great success. Just out of curiosity, why dont you want to?
      >
      > --
      > Curt Christianson
      > Owner/Lead Developer, DF-Software
      > Site: http://www.Darkfalz.com
      > Blog: http://blog.Darkfalz.com
      >
      >
      > "Larry Woods" <larry@NOSPAMlw oods.com> wrote in message
      > news:%23c1JyCGZ EHA.2972@tk2msf tngp13.phx.gbl. ..[color=green]
      > > I have a custom 404 error page. When I change my site properties in IIS
      > > (IIS 5.0, BTW) to point to a file, I still get the original 404 error[/color]
      > page.[color=green]
      > > But, then I copied my error page to my root, then pointed to it via URL[/color]
      > and[color=green]
      > > it works! BUT, I would prefer to use the file page instead of the URL.
      > >
      > > Any ideas where I should look for the problem?
      > >
      > > TIA,
      > >
      > > Larry Woods
      > >
      > > (cross-posted to ...inetserver.i is;inetserver.m isc)
      > >
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Aaron [SQL Server MVP]

        #4
        Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

        > Good question. Probably should. It just bugs me that I can't use the[color=blue]
        > file
        > name.[/color]

        ? URL asks you to specify a file name (including the virtual path). File
        asks you to specify a file name (with the absolute path). I don't
        understand what bugs you.

        Remember, ASP can't process a file like c:\whatever\404 .asp ... it has to be
        referenced as a URL, and loaded by the web server, in order to be processed.

        --
        Please contact this domain's administrator as their DNS Made Easy services have expired.

        (Reverse address to reply.)


        Comment

        • Aaron [SQL Server MVP]

          #5
          Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

          > (cross-posted to ...inetserver.i is;inetserver.m isc)

          No, it wasn't. Maybe you multi-posted?




          Comment

          • CJM

            #6
            Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

            AFAIK, relative URLs are valid (e.g. '/404.asp') so I dont think it gets any
            easier...

            CJM

            "Aaron [SQL Server MVP]" <ten.xoc@dnartr eb.noraa> wrote in message
            news:uVZFFMJZEH A.2576@TK2MSFTN GP10.phx.gbl...[color=blue][color=green]
            > > Good question. Probably should. It just bugs me that I can't use the
            > > file
            > > name.[/color]
            >
            > ? URL asks you to specify a file name (including the virtual path). File
            > asks you to specify a file name (with the absolute path). I don't
            > understand what bugs you.
            >
            > Remember, ASP can't process a file like c:\whatever\404 .asp ... it has to[/color]
            be[color=blue]
            > referenced as a URL, and loaded by the web server, in order to be[/color]
            processed.[color=blue]
            >
            > --
            > http://www.aspfaq.com/
            > (Reverse address to reply.)
            >
            >[/color]


            Comment

            • Evertjan.

              #7
              Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

              CJM wrote on 08 jul 2004 in microsoft.publi c.inetserver.as p.general:[color=blue]
              > "Aaron [SQL Server MVP]" <ten.xoc@dnartr eb.noraa> wrote in message
              > news:uVZFFMJZEH A.2576@TK2MSFTN GP10.phx.gbl...[color=green][color=darkred]
              >> > Good question. Probably should. It just bugs me that I can't use
              >> > the file
              >> > name.[/color]
              >>
              >> ? URL asks you to specify a file name (including the virtual path).
              >> File asks you to specify a file name (with the absolute path). I
              >> don't understand what bugs you.
              >>
              >> Remember, ASP can't process a file like c:\whatever\404 .asp ... it
              >> has to be
              >> referenced as a URL, and loaded by the web server, in order to be
              >> processed.[/color]
              > AFAIK, relative URLs are valid (e.g. '/404.asp') so I dont think it
              > gets any easier...[/color]

              [why changing to topposting midway in a tread?]

              '/404.asp' is a virtual path

              '../../404.asp' is a relative path

              imho.

              --
              Evertjan.
              The Netherlands.
              (Please change the x'es to dots in my emailaddress)

              Comment

              • Aaron [SQL Server MVP]

                #8
                Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                > [why changing to topposting midway in a tread?]

                Because it's a preference, not a law.

                --
                Please contact this domain's administrator as their DNS Made Easy services have expired.

                (Reverse address to reply.)


                Comment

                • Evertjan.

                  #9
                  Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                  Aaron [SQL Server MVP] wrote on 08 jul 2004 in
                  microsoft.publi c.inetserver.as p.general:[color=blue][color=green]
                  >> [why changing to topposting midway in a tread?][/color]
                  >
                  > Because it's a preference, not a law.[/color]

                  Well Aaron,

                  Are you so law abiding that you always follow the law to the last tittel?
                  Since there are no laws on usenet, should we not try to hold a certain
                  amount of standards?
                  Cann't we ask about someones habits without it being a law?

                  [btw, it was not your mail I referred to. Your positive influence on this
                  NG far outweighs this welknown idea about topposting of yours.]

                  I think topposting is a bad habit, but topposting in a thread that does
                  bottom/interpost is far worse.

                  --
                  Evertjan.
                  The Netherlands.
                  (Please change the x'es to dots in my emailaddress)

                  Comment

                  • Aaron [SQL Server MVP]

                    #10
                    Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                    > I think topposting is a bad habit,

                    That's the point I was trying to make... just because YOU think it's a bad
                    habit doesn't mean its opposite is suddenly some standard we should strive
                    for. What you're asking is similar to asking everyone to use Outlook
                    Express or a single-line signature or to set their e-mail address to
                    anonymous@discu ssions.microsof t.com.

                    --
                    Please contact this domain's administrator as their DNS Made Easy services have expired.

                    (Reverse address to reply.)


                    Comment

                    • Evertjan.

                      #11
                      Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                      Aaron [SQL Server MVP] wrote on 09 jul 2004 in
                      microsoft.publi c.inetserver.as p.general:
                      [color=blue][color=green]
                      >> I think topposting is a bad habit,[/color]
                      >
                      > That's the point I was trying to make... just because YOU think it's a
                      > bad habit doesn't mean its opposite is suddenly some standard we
                      > should strive for.[/color]

                      The opposite of NOT changing a way of threading in the midst of a thread,
                      is doing that. It seems to me that is a bad habit.
                      And is it a bad habit to say so, just because I think it is?
                      I do not think so. It is the strength of usenet that people say what they
                      think.

                      Secondly, I did NOT say so, I just asked why the poster did that. He
                      could have had very good reasons for doing so: "My Outlook Express leaves
                      me no choice", for instance.
                      [color=blue]
                      > What you're asking is similar to asking everyone
                      > to use Outlook Express[/color]

                      No, that is a personal preference, as long as it does not degrade usenet
                      use. [I would not touch OE, even for emailing.]
                      [color=blue]
                      > or a single-line signature or to set their
                      > e-mail address to anonymous@discu ssions.microsof t.com.[/color]

                      Again, as long as it does not degrade the NG usabilitiy, no.

                      ==========

                      Time and again I ask people on this NG not to say ASP when they mean
                      VBScript, even when they mean serverside VBScript on an ASP platform.

                      You could just as easily say to me op that subject: "just because YOU
                      think it's a bad habit doesn't mean its opposite is suddenly some
                      standard we should strive for."

                      If I think something is a bad habit, I will certainly encourage people to
                      do the opposite.

                      ===========

                      btw, Aaron, thank you for not topposting in your latest reply.

                      --
                      Evertjan.
                      The Netherlands.
                      (Please change the x'es to dots in my emailaddress)

                      Comment

                      • CJM

                        #12
                        Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                        I wasnt going to reply to your post since a) Aaron already had, and b) I
                        initially thought it was better to let it pass.

                        However, since the debate goes on... more answers inline...

                        "Evertjan." <exjxw.hannivoo rt@interxnl.net > wrote in message
                        news:Xns95218E3 D869eejj99@194. 109.133.29...[color=blue]
                        > Aaron [SQL Server MVP] wrote on 08 jul 2004 in
                        > microsoft.publi c.inetserver.as p.general:[color=green][color=darkred]
                        > >> [why changing to topposting midway in a tread?][/color]
                        > >
                        > > Because it's a preference, not a law.[/color]
                        >
                        > Well Aaron,
                        >
                        > Are you so law abiding that you always follow the law to the last tittel?
                        > Since there are no laws on usenet, should we not try to hold a certain
                        > amount of standards?
                        > Cann't we ask about someones habits without it being a law?
                        >[/color]

                        Standards? One size does NOT fit all. Different approaches for different
                        situations, I should say. In my original post, the information was fairly
                        self-contained. The statement stood on its own. If you cant remember about
                        the post I was replying to, then you have the option to scroll down, but if
                        you were still following the thread then you arent put out by having to do
                        this.

                        As for habits, I top-post, bottom-post and post in-line depending on the
                        situation - which admittedly does sometimes include how rushed I am...
                        [color=blue]
                        > [btw, it was not your mail I referred to. Your positive influence on this
                        > NG far outweighs this welknown idea about topposting of yours.]
                        >[/color]

                        So the 'rules' depend on you perceived worth to the NG? I object to this on
                        two-levels:

                        1) It sounds like animal farm - 'Some are more equal than others'

                        2) While I wouldn't presume to compete with Aaron, I put more into this
                        group than I take out. I didn't realise that someone was scoring, and that I
                        was doing so poorly.
                        [color=blue]
                        > I think topposting is a bad habit, but topposting in a thread that does
                        > bottom/interpost is far worse.
                        >[/color]

                        Needless to say we disagree on this.


                        Evertjan, the last time we crossed swords in this NG, we carried on
                        off-list. At the time, I was surprised by your hostile stance, but was
                        eventually re-assured by your more affable demeanour off-list. Is this deja
                        vu?

                        Chris


                        Comment

                        • Evertjan.

                          #13
                          Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                          CJM wrote on 09 jul 2004 in microsoft.publi c.inetserver.as p.general:[color=blue]
                          > So the 'rules' depend on you perceived worth to the NG? I object to
                          > this on two-levels: 1) It sounds like animal farm - 'Some are more
                          > equal than others'[/color]

                          You are perceiving things I did not say. I was not talking about a
                          "rule". I was not saying I was better than others.

                          It just stroke me that in that particular instance, the sudden change to
                          topposting was degrading the effectiveness of that thread.
                          Why should I not ask for your reason?
                          [color=blue]
                          > Evertjan, the last time we crossed swords in this NG, we carried on
                          > off-list. At the time, I was surprised by your hostile stance, but was
                          > eventually re-assured by your more affable demeanour off-list. Is this
                          > deja vu?[/color]

                          I do not remember last time, Chris, but I do not think I was hostile in
                          this thread. I would certainly not be hostile to Aaron, who is one of the
                          pillars of this NG. The difference in meaning about topposting between us
                          is well known. A bit of fencing between two people that know eachothers
                          stances is not bad and sharpens the mind.

                          --
                          Evertjan.
                          The Netherlands.
                          (Please change the x'es to dots in my emailaddress)

                          Comment

                          • Aaron [SQL Server MVP]

                            #14
                            Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                            > It just stroke me that in that particular instance, the sudden change to[color=blue]
                            > topposting was degrading the effectiveness of that thread.[/color]

                            The problem is, this is your opinion. Like CJM, I also top-post,
                            bottom-post, and answer inline, depending on the scenario. Just because I
                            contribute frequently does not make it okay for me to do it but bad for
                            others to do it. It is a judgement call, again, just like my choice of
                            newsreader. I don't really care that you don't like Outlook Express, nor
                            should I have to even know or care what newsreader you use.

                            And hearing you moan about top-posting issue every time is, IMHO, degrading
                            the effectiveness of the affected thread, far more than the choice of
                            posting method. Move on, okay?

                            --
                            Please contact this domain's administrator as their DNS Made Easy services have expired.

                            (Reverse address to reply.)


                            Comment

                            • Aaron [SQL Server MVP]

                              #15
                              Re: Anyone ever setup a custom error page? Mine doesn't work if I specify it as a page

                              > Cann't we ask about someones habits without it being a law?

                              Sure, while we're here.

                              Why do you insist on bottom-posting? Do you not find it annoying when you
                              have to scroll through an entire paragraph that you've already read, to see
                              a one-line response or a link to an article? Do I really need to read the
                              entire paragraph again to understand the response? Is the cache in my
                              newsreader so short that I will not have the previous post stored anymore,
                              and will have to go search through google to find the things you've trimmed?

                              What is the point of leaving this in all your replies:

                              "Aaron [SQL Server MVP] wrote on 09 jul 2004 in
                              microsoft.publi c.inetserver.as p.general: "

                              Do you think I'm going to forget who I am, or what date my post was sent, or
                              what group I'm in? Do you think my newsreader doesn't support threading,
                              and I won't be able to figure out who you're replying to?

                              Point is, we all do things that aren't the most convenient for the rest of
                              us. But we don't all go out of our way to make a big stink about it.

                              --
                              Please contact this domain's administrator as their DNS Made Easy services have expired.

                              (Reverse address to reply.)


                              Comment

                              Working...