apache issue,

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cooldude7
    Confirmed User
    • Nov 2009
    • 4306

    #1

    apache issue,

    when i add

    errordocument 401 default

    the cpu uses 100%

    any idea why is that ?


    thanks for your time.,
  • Klen
    • Aug 2006
    • 32235

    #2
    Sounds like you have infinite loop.

    Comment

    • k0nr4d
      Confirmed User
      • Aug 2006
      • 9231

      #3
      Yep sounds like infinite loop...
      It uses the default if you don't put any errordocument line.
      Mechanical Bunny Media
      Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

      Comment

      • grumpy
        Too lazy to set a custom title
        • Jan 2002
        • 9870

        #4
        check your .htaccess
        Don't let greediness blur your vision | You gotta let some shit slide
        icq - 441-456-888

        Comment

        • raymor
          Confirmed User
          • Oct 2002
          • 3745

          #5
          Though it sounds like a loop, such a loop should be detected and broken. If it's a recent version of Apache I'd like to.see it and see about the way Apache handles the error.

          If you're still using Apache 1.3 there are ten years worth of improvements you're missing so that wouldn't be of interest.
          Last edited by raymor; 01-28-2012, 06:31 AM.
          For historical display only. This information is not current:
          support@bettercgi.com ICQ 7208627
          Strongbox - The next generation in site security
          Throttlebox - The next generation in bandwidth control
          Clonebox - Backup and disaster recovery on steroids

          Comment

          • cooldude7
            Confirmed User
            • Nov 2009
            • 4306

            #6
            i am using Apache/2

            the thing is there is this inxy feeds installation which i cant access unless i add

            ErrorDocument 401 default
            in httpd.conf

            and if i add it, server goes mad.,

            htaccess has this

            RewriteEngine On

            #INXY_BEGIN
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^(.*).html$ index.php?inxy_query=$1.html&%{QUERY_STRING} [L]
            #INXY_END

            thanks
            Last edited by cooldude7; 01-28-2012, 07:58 AM.

            Comment

            • CrocMint
              Confirmed User
              • Oct 2010
              • 227

              #7
              Replace default with URL of some accessible .html document...
              Our Herbal Supplements for Adult Health - a New Revenue Stream for You - mike[at]crocmint.com

              Comment

              • cooldude7
                Confirmed User
                • Nov 2009
                • 4306

                #8
                Originally posted by CrocMint
                Replace default with URL of some accessible .html document...
                this worked,.for now.,

                all i did was removed the default error pages., and cpu went mad, now i placed those files there

                400.html
                401.html
                403.html
                404.html
                500.html


                thanks for your help guys.,

                Comment

                • fris
                  Too lazy to set a custom title
                  • Aug 2002
                  • 55679

                  #9
                  you should be adding an actual file or url, not the word default
                  Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                  Comment

                  Working...