Eric S. Johansson wrote:
when I should have been working, I have been sneaking peaks at the code.

here I go talking to myself again...

this configuration:

##
## Virtual server for example.com
##
Server inguide.com, www.inguide.com {
        DocumentRoot /var/www/inguide.com
        Log combined {
            AccessLog /var/log/cherokee.access
            ErrorLog  /var/log/cherokee.error
        }

        Directory /aether {
                DocumentRoot /var/www/inguide.com/aether
                Handler cgi
        }

        ##
        ## Rest of the virtual host configuration..
        ## Add you parameter here..
        ##
        Directory / {
                DocumentRoot /var/www/inguide.com/html
                #Handler redir {
                #       Rewrite "^(http.+)/(.+)$" "$1/aether/ae/$2"
                Handler common  

                #}
                Handler error_redir {
                     404 http://www.harvee.org/aether/ae
                }
        }

}


gives me this entry in the error log

192.168.0.30 - - [10/Jul/2005:22:51:14 --500] "GET /favicon.ico HTTP/1.1" 500 0 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4"


but I have no idea why I'm getting a 500. I have a suspicion which is the missing script_name bit I reported earlier but it would be really really nice if you could dump standard error somewhere like into a log file.

---eric

PS regarding my use of the 404 error handler. I have been a long-term abuser of software and hardware. many many years ago when we used switches to connect serial lines joining your desktop terminal to a computer somewhere in the lab, I discovered that it was possible to hook up the switch so that a computer could originate a connection. Since I just finished a port of Kermit to the Computervision 200X system (not unusual given I was working for the Computervision operating system division at the time), I took advantage of this fact and within a very short time we had people copying files automatically with kermit instead of using magnetic tapes. Oh yes, this was in the days when Ethernet was this big fat garden hose of a cable using vampire taps instead of these wimpy little RJ 45 twisted pair cat toys. and yes, we never saw Ethernet until the Sun workstations came in. Nice little Sun threes.

now bugger off children before I tell you about how I had to walk to school in 10 feet of snow uphill both ways.

--
http://www.wired.com/wired/archive/13.03/view.html?pg=5

The result of the duopoly that currently defines "competition" is that
prices and service suck. We're the world's leader in Internet
technology - except that we're not.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to