Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

davorg (18)

Yahoo! ID: daveorguk (Add User, Send Message)

Hacker, author, trainer

Technorati Profile []

Journal of davorg (18)

Tuesday March 30, 2004
10:55 AM

Stupid Things To Put In http.conf

[ #18115 ]

(Number 1 in an occasional series)

It's counter-intuitive if a 500 error makes your web server direct to a non-existant domain

ErrorDocument 500

That had me puzzled for a while. The main page of the site is index.cgi and it kept trying to redirect me to

I wasted time checking for mod_rewrite rules before simply searching http.conf for a string containing the bogus server address.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • >ErrorDocument 500 ttp://

    pretty common one to do but isn't this commented out by default? meaning someone had to uncomment it?

    bootload [], groking softwa
    • In my experience, the commented-out line is

      #ErrorDocument 500 "The server made a boo boo.

      Returning a redirection to another server when an error occurs is bizarre. Have you really seen it in a default configuration, even commented out?

      • It seems to be a part of the default install of OS X Server 10.3, which is what caused me to search for the string "" and end up at this forum in the first place.
        illovich []