Eric S. Johansson wrote:

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.

  There were a couple of problems with that configuration.
  Try with this one:

==========
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 common
    }

    ErrorHandler error_redir {
        404 http://www.harvee.org/aether/ae
    }
}
==========

  The first one is the error hanlder was inside the Directory /.
  The second was to use "Handler" instead of "ErrorHandler".

  I hope, it will work. :-)

--
Greetings, alo.
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to