I'm having more or less the same problem as derek is but with 1.4beta4. After a
highly difficult install process on this debian box, I see the contents of my /var/www
directoy when calling up www.ihg.com:8101 or www.ihg.com:8099 Underneath I see the
midgard directory and when I click on that I get an Internal Service Error.
So obviously apache is listening okay.
I took Armands advice and switched LogLevel to debug and this some of my error.log (I
note that the version problem someone saw the other day isn't fixed yet)
[Thu Jun 29 19:15:30 2000] [notice] SIGHUP received. Attempting to restart
[Thu Jun 29 19:15:30 2000] [info] mod_unique_id: using ip addr 203.59.136.58
[Thu Jun 29 19:15:30 2000] [notice] Apache/1.3.12 (Unix) Debian/GNU PHP/3.0.16+M
idgard/1.4-beta3/SG Midgard/1.4-beta3/SG configured -- resuming normal operations
[Thu Jun 29 19:15:30 2000] [notice] suEXEC mechanism enabled (wrapper:
/usr/lib/apache/suexec)
[Thu Jun 29 19:15:30 2000] [info] Server built: Apr 16 2000 10:43:23
[Thu Jun 29 19:15:30 2000] [debug] mod_midgard.c(206): Midgard: database=midgard,
username=midgard, password=******
[Thu Jun 29 19:15:30 2000] [crit] Midgard: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (111)
[Thu Jun 29 19:15:30 2000] [debug] mod_midgard.c(206): Midgard: database=midgard,
username=midgard, password=******
[Thu Jun 29 19:15:30 2000] [crit] Midgard: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (111)
[Thu Jun 29 19:15:30 2000] [debug] mod_midgard.c(206): Midgard: database=midgard,
username=midgard, password=******
[Thu Jun 29 19:15:31 2000] [crit] Midgard: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (111)
[Thu Jun 29 19:15:31 2000] [debug] mod_midgard.c(206): Midgard: database=midgard,
username=midgard, password=******
[Thu Jun 29 19:15:31 2000] [crit] Midgard: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (111)
[Thu Jun 29 19:15:31 2000] [debug] mod_midgard.c(206): Midgard: database=midgard,
username=midgard, password=******
[Thu Jun 29 19:15:31 2000] [crit] Midgard: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (111)
here's my hosts db
mysql> select * from host;
+----+-------------+------+-------+------+-------+------+--------+----------+-----------+
| id | name | root | style | info | owner | port | online | prefix |
|sitegroup |
+----+-------------+------+-------+------+-------+------+--------+----------+-----------+
| 1 | www.ihg.com | 1 | 1 | auth | 0 | 8101 | 1 | /admin | 0 |
| 2 | www.ihg.com | 34 | 2 | | 1 | 8099 | 1 | /example | 0 |
+----+-------------+------+-------+------+-------+------+--------+----------+-----------+
and finally the end part of my httpd.conf - let me know if I need to send any more in
(I have quite a few virtual hosts which I thought I didn't need to include - they
won't be midgard served anyway).
Listen 80
Listen 8099
Listen 8101
NameVirtualHost 203.59.136.58
NameVirtualHost 203.59.136.58:8099
NameVirtualHost 203.59.136.58:8101
MidgardEngine on
MidgardRootfile /var/www/midgard/midgard-root.php3
MidgardDatabase midgard midgard ******
<Directory /var/www/midgard>
require valid-user
AuthName Midgard
AuthType Basic
</Directory>
<VirtualHost www.ihg.com:8099>
ServerName www.ihg.com
Port 8099
</VirtualHost>
<VirtualHost www.ihg.com:8101>
ServerName www.ihg.com
Port 8099
</VirtualHost>
Thanks!!
Nick
-------------------------------------------------------------------
This message has been posted from Mail2Web http://www.mail2web.com/
Web Hosting for $9.95 per month! Visit: http://www.yourhosting.com/
-------------------------------------------------------------------
--
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]