404 Document Not Found Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • camcutie
    Confirmed User
    • Oct 2004
    • 817

    #1

    404 Document Not Found Question

    We would like to start taking advantage of our "404 Document Not Found" & "Authorization Required" hits with an ad page. Does anyone know how to do this. Is it a script or something that has to be loaded on the server end? Any help would be much appreciated....

    XOXOXO
    *Krystal*

    Please Visit My Website CamCutie.com

    ICQ 203-628-284
  • Tony Montana
    Confirmed User
    • Jan 2005
    • 794

    #2
    htaccess
    I am a marketing Genius.

    Comment

    • viki
      Confirmed User
      • Jan 2005
      • 2640

      #3
      Make a .htaccess page with the following info:

      ErrorDocument 400 http://www.site.com
      ErrorDocument 401 http://www.site.com
      ErrorDocument 403 http://www.site.com
      ErrorDocument 404 http://www.site.com
      ErrorDocument 500 http://www.site.com

      viki [at] realsexcash [dot] com
      228 263 454

      Comment

      • Tony Montana
        Confirmed User
        • Jan 2005
        • 794

        #4
        Here we go!

        The following is an example use of the .htaccess ErrorDocument file to send '404' Page Not Found Errors to your own custom error page.

        You will see that it is so simple that it's almost silly...

        Simply make a text file in NOTEPAD (for a Windows based system) with the following:

        ErrorDocument 404 http://www.yourdomain.com/your-404-page.html




        Then save the file as ' .htaccess '

        Then FTP it to your root web sites directory (the directory that the FTP puts you in when you first log-in).

        Thats it !
        I am a marketing Genius.

        Comment

        • Michael O
          More Cowbell
          • Jul 2001
          • 10607

          #5
          Do a search for htaccess or take a look here : http://www.cleos-free-porn-links.com...aster-help.php
          Its made by Cleo and It has a lot of handy tools
          Truth Teller

          Comment

          • VIPimp
            Marina WILL have my babies!
            • May 2003
            • 9234

            #6
            *** TIP - copy and paste the following in your .htaccess file to send all your error traffic to your hosted trap:

            ErrorDocument 400 http://www.epicgals.com/epic404/?
            ErrorDocument 401 http://www.epicgals.com/epic404/?
            ErrorDocument 403 http://www.epicgals.com/epic404/?
            ErrorDocument 404 http://www.epicgals.com/epic404/?
            ErrorDocument 500 http://www.epicgals.com/epic404/?

            What each error/line means:
            400 - Bad request
            401 - Authorization Required
            403 - Forbidden
            404 - Wrong page
            500 - Internal Server Error





            Replace the url to whatever you want it to go to.

            Comment

            • DateDoc
              Outside looking in.
              • Feb 2005
              • 14243

              #7
              Originally posted by camcutie
              We would like to start taking advantage of our "404 Document Not Found" & "Authorization Required" hits with an ad page. Does anyone know how to do this. Is it a script or something that has to be loaded on the server end? Any help would be much appreciated....
              Just put up a sponsor page. TripleXcash has them premade for you. Check mine out by clicking this broken link: www.booty411.com/mian.shtml

              Comment

              • camcutie
                Confirmed User
                • Oct 2004
                • 817

                #8
                Wow........thanks for all the replies. I will start looking in to all of them. I have been also searching for a 404 tutorial on the net without success. Does anyone know of one? I will look at the Cleo one now reccommended by Keyser.

                So far just today on our server stats we show 57077 requests for 404......is that a lot? We use about 30 Gigs of bandwidth per day.

                XOXOXO
                *Krystal*

                Please Visit My Website CamCutie.com

                ICQ 203-628-284

                Comment

                • camcutie
                  Confirmed User
                  • Oct 2004
                  • 817

                  #9
                  Originally posted by Tony Montana
                  Here we go!

                  The following is an example use of the .htaccess ErrorDocument file to send '404' Page Not Found Errors to your own custom error page.

                  You will see that it is so simple that it's almost silly...

                  Simply make a text file in NOTEPAD (for a Windows based system) with the following:

                  ErrorDocument 404 http://www.yourdomain.com/your-404-page.html




                  Then save the file as ' .htaccess '

                  Then FTP it to your root web sites directory (the directory that the FTP puts you in when you first log-in).

                  Thats it !
                  Thanks as always Tony.....I hope it is that simple.

                  XOXOXO
                  *Krystal*

                  Please Visit My Website CamCutie.com

                  ICQ 203-628-284

                  Comment

                  • PrivateIvy
                    Confirmed User
                    • Oct 2003
                    • 4257

                    #10
                    Originally posted by camcutie
                    Wow........thanks for all the replies. I will start looking in to all of them. I have been also searching for a 404 tutorial on the net without success. Does anyone know of one? I will look at the Cleo one now reccommended by Keyser.

                    So far just today on our server stats we show 57077 requests for 404......is that a lot? We use about 30 Gigs of bandwidth per day.

                    XOXOXO
                    *Krystal*
                    check here for htaccess help..not sure what you mean by a specific 404 tutorial:

                    http://clockwatchers.com/htaccess_tool.html

                    http://htaccess.awstuff.com/

                    http://www.freewebmasterhelp.com/tutorials/htaccess/

                    and of course Google can give you tons more

                    Ivy

                    Comment

                    • fusionx
                      Confirmed User
                      • Nov 2003
                      • 4618

                      #11
                      Originally posted by camcutie
                      Wow........thanks for all the replies. I will start looking in to all of them. I have been also searching for a 404 tutorial on the net without success. Does anyone know of one? I will look at the Cleo one now reccommended by Keyser.

                      So far just today on our server stats we show 57077 requests for 404......is that a lot? We use about 30 Gigs of bandwidth per day.

                      XOXOXO
                      *Krystal*
                      Check your stats and raw server logs - with that many, it's likely full of favicon.ico or maybe some bad code somewhere - like a spacer.gif not being found or some other hard to notice file missing.

                      If it's true 404, you're missing out on a bunch of eyeballs, even figuring in the percentage that manipulate the URL looking for free shit..

                      BTW - there's no .htaccess for windows systems (as someone mentioned above). In windows, you need to set up a 404 redirect in the Internet Services console. Simple to do - just not as quick and easy as .htaccess.

                      Another great site for error doc stuff, and everything else about .htaccess: http://www.javascriptkit.com/howto/htaccess2.shtml

                      Comment

                      • camcutie
                        Confirmed User
                        • Oct 2004
                        • 817

                        #12
                        Thank you PrivateIvy and Fusionx.......I appreciate the additional info. I will let you guys know how it all turns out and if we get it working. As of now I think I hear Joe mumbling something about writing our tech guy at the host with all the info I'm gathering here at GFY.

                        XOXOXO
                        *Krystal*

                        Please Visit My Website CamCutie.com

                        ICQ 203-628-284

                        Comment

                        • camcutie
                          Confirmed User
                          • Oct 2004
                          • 817

                          #13
                          Thanks for all the help guys.......finally got my 404 page up.

                          Click this non existent page and it should take you there http://www.camcutie.com/nopage.htm

                          Let me know if that is a good page to keep up please.

                          XOXOXO
                          *Krystal*

                          Please Visit My Website CamCutie.com

                          ICQ 203-628-284

                          Comment

                          • JFPdude
                            Confirmed User
                            • Jan 2002
                            • 4027

                            #14
                            heh ... ok here's were a server admin steps in:

                            ErrorDocument should only be used if your sending the bad hit back to your own server and then you use the path to the file.

                            Example:

                            ErrorDocument 404 /home/userid/domain.coc/htdocs/index.html

                            If you are sending the bad hit off your server to another server then you need to use ReDirect.

                            Example:

                            Redirect 404 http://someothersite.com


                            By using ErrorDocument 404 http://somesite.com you are creating a load on the machine. If you have enough power in your server you may not notice this but your apache error logs will suffer.

                            Peace,

                            JFPDude

                            Comment

                            • camcutie
                              Confirmed User
                              • Oct 2004
                              • 817

                              #15
                              Thnaks JFPDude.......

                              XOXOXO
                              *Krystal*

                              Please Visit My Website CamCutie.com

                              ICQ 203-628-284

                              Comment

                              Working...