Hi,
I've tried to build midgard from scratch in the past on debian 2.2 ->
failed (maybe because I am not so familiar with this distribution, but I
tried it because of it's stability :-( )
So, with knowing thet SuSE includes Midgard to their distribution,
I swiched back and went into trouble with their configuration:
--------------------------------------------------------------------------
They changed the Host table like this (ports and prefix)
mysql> select * from host;
+----+----------------------+------+-------+------+-------+------+--------
| id | name | root | style | info | owner | port |online | prefix
+----+----------------------+------+-------+------+-------+------+--------
| 1 | FQHN | 1 | 1 | auth | 0 | 8101 | 1 |
| 2 | FQHN | 34 | 2 | | 1 | 8099 | 1 |
+----+--------------+------+-------+------+-------+------+-------|--------
--------------------------------------------------------------------------
and added to httpd.conf
# We listen on additional ports
# 8099 is test web site
# 8101 is admin web site
Listen 8099
Listen 8101
LoadModule midgard_module /usr/lib/apache/mod_midgard.so
LoadModule php3_module /usr/lib/apache/libphp3-midgard.so
AddModule mod_midgard.c
AddModule mod_php3.c
NameVirtualHost FQHN:8099
NameVirtualHost FQHN:8101
MidgardEngine on
MidgardRootfile /usr/lib/midgard/midgard-root.php3
<Directory /usr/local/httpd/midgard>
require valid-user
AuthName Midgard
AuthType Basic
</Directory>
<VirtualHost FQHN:8099>
ServerName FQHN
Port 8099
</VirtualHost>
<VirtualHost FQHN:8101>
ServerName FQHN
Port 8101
</VirtualHost>
-------------------------------------------------------------------------
Midgard was accessable on both ports, but there were
1. no auth request
2. no way to change any information in the data base
3. no 'midgard' directory (example and images were under htdocs)
After inserting 'DocumentRoot /usr/local/httpd/midgard' to the virtual
hosts and moving example and images to this dir, the authentication dialog
apeared in the browser, but the apache log file said after trying
admin/password :
No such file or directory: Could not open password file: /etc/httpd/passwd
What's wrong? Should I remove some other mod_auth* ?
Thanks in advance
Andreas
_________________________________________________________________________
Andreas Wandel Universitaet Potsdam
Administrator Rechentechnik Institut fuer Mathematik
Am Neuen Palais 10
D-14469 Potsdam (Germany)
Fon: +49 (0) 331 977-1250
Fax: +49 (0) 331 977-1001
mailto:[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]