On Tue, Feb 26, 2008 at 2:56 AM, Paul Kuliniewicz
<[EMAIL PROTECTED]> wrote:
> If you don't want to use the wordPress or addWordPress directives for
> whatever reason, you can more or less directly translate those rules
> into Domtool directives. Here's what I did for my site (where WordPress
> is at /blog instead of /, but otherwise the same as your situation):
>
> dom "kuliniewicz.org" with
> web "www" with
> directory (home "public_html/blog/") with
> testNoHtaccess; (* ignore any .htaccess
> files *)
> rewriteBase "/blog/";
> rewriteCond "${REQUEST_FILENAME}" "!-f" [];
> rewriteCond "${REQUEST_FILENAME}" "!-d" [];
> rewriteRule "." "/blog/index.php" [last];
> end;
> end;
> end;
In this case there is actually no reason to not use addWordPress. It
is _exactly_ equivalent to:
dom "kuliniewicz.org" with
web "www"
testNoHtaccess;
addWordPress "/blog/"
end
end
However dom already specifies a "www", so this is slightly broken too.
You should actually express it like this:
dom "kuliniewicz.org" where
WWW = begin
testNoHtaccess;
addWordPress "/blog/"
end
with end
_______________________________________________
HCoop-Help mailing list
[email protected]
https://lists.hcoop.net/listinfo/hcoop-help