Joseph Jabbar wrote:
> I've just installed the Midgard-1.2.4 Redhat6.0 installation, (the one with
> apache included)
> and I have followed the instructions to create the midgard database
> (with a new version of MySQL) and everything seems fine at the installation
> level.
>
> But I'm having difficulty getting anything to run I type
>
> https://127.0.0.1:443
Try https://localhost/ instead. 443 is default for https.
> and that gives me a listing thus
>
> Parent Directory
> apache_pb.gif
> example
> images
> manual
Right. Midgard matches the Midgard sites on hostname, not IP addresses.
Since you supplied no hostname, midgard won't be able to find a match
and passes control back to apache, which will show the contents of the
DocumentRoot (since I haven't included an index.html).
> https://127.0.0.1:443/midgard-root.php3
(quick check... phew!) midgard-root.php3 shouldn't be reachable this
way.
> that gave me a login dialog box,
so aparently the <Files...> protection is a little pro-active here
> ...[notice] [client 127.0.0.1] Midgard: host record for ... not found
That's because there was no host name specified. I don't think '...'
is actually in your logfile. It's best to post logfile entries
verbatim unless they contain sensitive information.
> ...[crit] [client 127.0.0.1] configuration error: couldn't check user. No
> user file?: /midgard-root.php3
Hey, this is a good one!
Okay, the way authentication works: Apache notices a file is protected
(in this case by the <files> section) and asks itself to verify the
current user. Normally this will be handled by mod_midgard, but if no
matching host is found, control passes back to Apache, which only knows
how
to verify users against htpasswd files. Since none is specified, it
asks:
"No user file?" Which actually means "I have no means of verifying who
this
user is.
It all comes down to the names in the host table in the database
matching
against a ServerName in your VirtualHost declaration. The Monster
package
tries to be smart(ish) about this and changes the SQL table and the
default httpd.conf to whatever 'hostname' returns.
Bye,
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]