Hallo list,
I have been struggling for about 8 (!) hours now with Midgard setup, that
is, AFTER installing it.
My setup:
- RedHat 6.2
- Midgard 1.2.5
- Midgard-php-1.2.5
- mod_midgard-1.2.5
- MySQL 3.22.32
My problem is that when I try to access the example or admin site, I only
get a file listing with the images (earth.gif, kulma1.gif, kulma3.gif)
If I check the error_log at /var/log/httpd (with LogLevel in httpd.conf set
to debug) I get the following message:
___________________________
[Fri Apr 14 16:01:46 2000] [crit] Midgard: Access denied for user:
'midgard@localhost' (Using password: YES)
___________________________
However, if I try to access the midgard password by typing:
> mysql -u midgard -h localhost -p
and write the password defined in httpd.conf, I get the usual and correct
mysql> prompt
I have a domain registered with the DNS server that is being accessed by
the RedHat machine. (The DNS server is located in another machine, with
different IP address).
My httpd.conf is like this (I have masked the domains and the IP address,
but you get the idea):
-- httpd.conf --
(...)
ServerAdmin root@localhost
ServerName localhost
(...)
Listen 80
Listen 8080
Listen 8099
Listen 8101
(...)
NameVirtualHost 185.126.131.136:80
NameVirtualHost 185.126.131.136:8099
NameVirtualHost 185.126.131.136:8101
(...)
DocumentRoot /home/httpd/html/midgard/
MidgardEngine on
MidgardRootfile /home/httpd/html/midgard/midgard-root.php3
MidgardDatabase midgard
MidgardUsername midgard
MidgardPassword mypassword
<VirtualHost 185.126.131.136:8101>
ServerName localhost
Port 8101
</VirtualHost>
<VirtualHost 185.126.131.136:8099>
ServerName localhost
Port 8099
</VirtualHost>
<Files /home/httpd/html/midgard/midgard-root.php3>
require valid-user
AuthName Midgard
AuthType Basic
</Files>
-- end of httpd.conf --
My mysql.db table:
+-----------+---------+---------+-------------+-------------+-------------+-
---+
| Host | Db | User | Select_priv | Insert_priv | Update_priv |
Del|
+-----------+---------+---------+-------------+-------------+-------------+-
---+
| % | test | | Y | Y | Y |
Y |
| % | test\_% | | Y | Y | Y |
Y |
| localhost | midgard | midgard | Y | Y | Y |
Y |
+-----------+---------+---------+-------------+-------------+-------------+-
---+
My mysql.host table:
+----------------------+---------+------------------+-------------+---------
---+
| Host | User | Password | Select_priv |
Insert_priv|
+----------------------+---------+------------------+-------------+---------
---+
| mydomain.pt | root | 9a5450dc39c1d3df | Y | Y |
| fakedomain.pt | root | 3d23437ag0a250b2b | Y | Y |
| localhost | | | N | N
|
| fakedomain.pt | | | N | N
| localhost | midgard | 1aa40c813a449317 | N | N
|
+----------------------+---------+------------------+-------------+---------
---+
And finally the midgard.host table:
+----+--------------------+------+-------+------+-------+------+--------+---
---+
| id | name | root | style | info | owner | port | online |
prefi|
+----+--------------------+------+-------+------+-------+------+--------+---
---+
| 1 | mydomain.pt | 1 | 1 | auth | 0 | 8101 | 1 |
|
| 2 | mydomain.pt | 34 | 2 | | 1 | 8099 | 1 |
|
+----+--------------------+------+-------+------+-------+------+--------+---
---+
I am changing and testing things in a Windows NT Workstation computer and
telnetting to my server and browsing the site with multiple browsers
(Netscape 4.X, IE 5, Opera 3.61)
Please help me!
Thanks in advance.
Best wishes,
_______________________
Ricardo Marques
[EMAIL PROTECTED]
--
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]