David Banning wrote:
> > Also remove the Load/Addmodule for mod_midgard and mod_php3 temporarily.
>
> It is compiled in - I don't have any Load/Addmodule settings in
> httpd.conf
I'd still expect AddModule.
> > See if you can access the midgard database as
> > $ mysql -u midgard -pmidgard midgard
>
> OK - my problem here was that I did not have midgard in /etc/passwd
> now that I have, your suggested "$ mysql -u midgard -pmidgard midgard"
> works
Really?! MySQL database users and /etc/passwd users should have no
(intrinsic) relationship. If it works with user midgard in
/etc/passwd, it should work without. If it doesn't, that's a flaw in
MySQL.
> > If that's OK, set
> > MidgardDatabase midgard midgard midgard
> > before any other Midgard directives, other than the Load/Addmodule
> > statements.
>
> Here's where the problem starts with telnet - without
> any reference to midgard and without "MidgardDatabase midgard midgard
> midgard"
> I get a seemingly good response:
> $ telnet localhost 80
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> GET / http\1.1
That would bet HTTP/1.1, but apache doesn't seem to mind.
> HOST: d.tracker
>
> HTTP/1.1 200 OK
> Date: Wed, 13 Sep 2000 06:14:17 GMT
> Server: Apache/1.3.12 (Unix) Midgard/1.2.5 PHP/3.0.12+Midgard/1.2.5
> Content-Location: index.html.en
> Vary: negotiate,accept-language,accept-charset
> TCN: choice
> Last-Modified: Thu, 03 Aug 2000 04:19:05 GMT
> ETag: "3e5c-556-3988f2b9;3988a786"
> Accept-Ranges: bytes
> Content-Length: 1366
> Connection: close
> Content-Type: text/html
> Content-Language: en
> Expires: Wed, 13 Sep 2000 06:14:17 GMT
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <HTML>
> <HEAD>
> <TITLE>Test Page for Apache Installation</TITLE>
> the rest of test page....
>
> but if I enter the single line
> "MidgardDatabase midgard midgard midgard"
> in httpd.conf (then stop and restart apache) then
> I get no response after:
>
> $ telnet localhost 80
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> GET / http\1.1
> HOST: d.tracker
>
> it just locks up here.
Erm... that's the only difference? If you omit the line, and set
LogLevel to debug, does Midgard still report activity? What is
reported when the line is present?
> > Temporarily disable mod_midgard & php3, let's try to find out what's
> > causing
> > this.
> Can't disable those, I guess unless I recompile without them in.
> Should I do that?
Should not be necessary. Unless I'm totally off, commenting out the
appropriate AddModule statements should do the job.
> This 8080 vs 80 business and d.tracker vs localhost has me really
> confused
The 80 and 8080 are port number, d.tracker and localhost are network
interface names.
Since most machines will only have one external network interface, the
NIC names are usually used as 'the' hostname.
A network service is uniquely identified by the NIC name + the
portnumber, much like a streetname + house number.
Localhost is the name usually reserved for the loopback NIC, and will
map to IP address 127.0.0.1. The name d.tracker maps to a different
IP; localhost may end you up on the same machine, but it is not the
same as d.tracker.
> I don't know where to put my 80's, or 8080's.
> In httpd.conf - the only such ref I have now is "Port 80", with no other
> ref to 80 or 8080 in that file.
> My /etc/hosts file is just simply:
> 127.0.0.1 localhost
> 10.0.0.1 d.tracker
You can run a website on any port, but 80 is the default. If you find
no reference to 8080 anywhere, your sites will be running on 80. The
midgard database should reflect this.
> > > ServerRoot is specified -
> >
> > but is midgard-root.php3 there?
>
> yes, it is, at least was, before I eliminated all references to
> midgard, as discussed above.
No, I mean, is the file midgard-root.php3 present in the directory
that is used as the ServerRoot? Physically present, I mean.
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]