[HCoop-Help] diagnosing a 400 Bad Request

Michael Olson mwolson at hcoop.net
Thu May 15 11:53:38 EDT 2008

Peter Gammie <peteg42 at gmail.com> writes:

> The problem is most certainly in those rules. The aim is simply to
> remove the script name from the URL. With the rules omitted, this
> works:
> http://hope.peteg.org/hope.cgi/

I would recommend using the following domtool config for the hope

  web "hope" where
    DocumentRoot = home "hope";
    addDefaultCharset "utf-8";
    scriptAlias "/" (home "hope/hope.cgi/");
    rewriteLogLevel 1;

If there are images or other things that need to be accessed on that
domain, then add some "alias" lines before the scriptAlias line, such

    alias "/images" (home "hope/images");

Michael Olson
HCoop System Administrator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.hcoop.net/pipermail/hcoop-help/attachments/20080515/a2947558/attachment.pgp 
-------------- next part --------------
HCoop-Help mailing list
HCoop-Help at lists.hcoop.net

More information about the HCoop-Help mailing list