kevinyuen wrote:

> and there was no any problems while the installing, but finally, I got
> below error when I type http://my_ip:8099/ in my browser:
> 
>            Midgard:database not defined for localhost

You probably have 'Servername localhost' in your apache config.
localhost is _not_ the same as the IP address of what I'll assume is
set for the only ethernet card in your system. IP addresses identify
network interfaces, not computers, and 'localhost' is usually assigned
the IP address 127.0.0.1.

So what you'd do is either change the ServerName to the name that maps
to my_ip, and put that same name in the hosts table of midgard, or use
localhost/127.0.0.1.

> and when I try type http://my_ip:8099/midgard-root.php3 in my browser:
> 
>    configuration error: couldn't check user. No user file?:
> midgard-root.php3

The midgard root file is for internal midgard use only. I advice to
have it outside the documentroot.

> NameVirtualHost my_ip
> NameVirtualHost my_ip:8099
> 
> MidgardDatabase midgard midgard midgard
> MidgardRootfile /www/midgard/midgard-root.php3
> 
> <Files midgard-root.php3>
> require valie-user
> AuthName midgard
> AuthType Basic
> </Files>

This files section needs to be removed. Midgard handles authentication
internally now.

> <VirtualHost my_ip:8099>
> MidgardEngine on
> ServerName localhost

Here's the bad match.

BTW, please use the mailinglist.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to