[HCoop-Help] pmwiki pretty urls [newbie]

seanmcl at hcoop.net seanmcl at hcoop.net
Mon Jun 14 09:53:19 EDT 2010


Here's my current domtool file that gives the error.

(* -*- mode: hcoop -*- *)

dom "seanmcl.com" where
  DocumentRoot = home "public_html/cmu";
with

  web "cmu" where
    DocumentRoot = home "public_html/cmu";
  with
    rewriteBase "/";
    rewriteRule "^$" "wiki/pmwiki.php" [redirectWith permanent];
    rewriteRule "^index\.php$" "wiki/pmwiki.php" [redirectWith permanent];
    rewriteRule "^([A-Z0-9\xa0-\xff].+)$" "wiki/pmwiki.php?n=$1"
[redirectWith permanent];
  end;

  web "new" where
    DocumentRoot = home "public_html/new";
  with

    location "/cgi-bin" with
      options [execCGI];
      cgiExtension "cgi";
    end;

    addMoinMoin where
      Htdocs = "/wikidata";
      Script = home "public_html/new/wiki/moin.cgi";
      Prefix = "/wiki"
    end

  end;
end;


seanmcl at mire:~/.domtool$ domtool seanmcl.com
seanmcl.com:7.3-14.6:error: Context incompatibility for nested action.
Have: Vhost
Need: Location & ^Vhost




More information about the HCoop-Help mailing list