[HCoop-Help] [RE: [HCoop-Announce] .htaccess being disabled on mire]

Björn Lindström bkhl at elektrubadur.se
Tue Feb 26 17:18:25 EST 2008

On Tue, Feb 26, 2008 at 10:47 PM, Lauren McNees <lauren at hcoop.net> wrote:
> Thank you, this is helping me to understand how it should look.
>  But I thought that if I'm only running wordpress, I should use the
>  wordPress directive, not the addWordPress one. If that's true, I'm
>  guessing it would look like this:
>   dom "rosasharn.com" where
>       DocumentRoot = home "wordpress";
>   with
>       testNoHtaccess;
>       wordPress "wordpress"
>       end
>   end
>  But this is almost exactly how it already is, except for the line that
>  says textHoHtaccess;. Does that line alone tell it to do my URL rewrites?
>  Thank you...

The testNoHtaccess is only there for testing purposes, before
.htaccess support is disabled. You could just as well test it by
renaming/removing the .htaccess file, though.

There is no reason to use addWordPress in your example. You can just
as well say:

  dom "rosasharn.com" with
    wordPress "wordpress" where
      DocumentRoot = home "path/to/wordpress"

After you are satisfied that it works, you can just remove the
.htaccess file from your WordPress directory and shorten this to:

  dom "rosasharn.com" with
    wordPress "wordpress" where
      DocumentRoot = home "path/to/wordpress"
    with end

HCoop-Help mailing list
HCoop-Help at lists.hcoop.net

More information about the HCoop-Help mailing list