> I've compiled a test_apache with sitegroups enabled midgard, And I have a
> working apache with non-sitegroups midgard listening to another IP.
> In this way I don't break my existing installation.

Midgard and Midgard+SG will not co-exist on one machine. On the binary
level, midgard-lib,
mod_midgard and midgard-php are simply different from the non-SG version.
Midgard+SG should
be able to serve your current site, though.

> - mysqladmin create midgard2
> - mysql midgard2 < midgard.sql (from the 1.2.6beta2 package)
> - mysql midgard2 < sitegroups.sql (from the lib/ tree in CVS)
> - mysql mysql
> - and from the install instructions in the 1.2.6beta2 package:
>
> $ mysql mysql
>  mysql> INSERT INTO user (Host,User,Password)
>      ->   VALUES ('localhost','midgard',Password('midgard'));
>  mysql> INSERT INTO db (Host,User,Db,Select_priv,Insert_priv,
>                         Update_priv,Delete_priv)
>      ->   VALUES ('localhost','midgard','midgard','Y','Y','Y','Y');

that should be 'midgard', 'midgard2'

> - edited httpd.conf to have the virthost set up.

Using the new database I presume.

> INSERT INTO sitegroup (name) VALUES ('0');
> mysql> select * from sitegroup;

The content of the default setup doesn't need a sitegroup as it is all in
the 'phantom' sitegroup 0.

> and tried to log in as admin0, admin@0 #0 /0 and whatever else I could
> think off, all in vain.

The user/admin delimiter is '+', the root delimiter is '*'. This was changed
recently.

> I've then set /example online, and this one turns out to work real fine,
> so my problem is with authentication only I guess.

Amazing, since:

> Oh, yeah... something else. the php in CVS wouldn't compile because
> MIDGARD_LOGIN_RESERVED_CHARS wasn't defined. I did a crude thing, and
> changed in php/config.h from line 417:

you don't seem to have installed the 1.4 midgard-lib from CVS. If you're
going to use
beta releases you'll either want to stick to the official beta releases (due
this week) or
subscribe to midgard-dev so you can follow when CVS commits take place.
[midgard-dev:  _this_ was why I had midgard_lib_match]

If you want to use sitegroups it is _required_ to first configure & compile
midgard-lib,
and then mod_midgard and midgard-php.

Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to