Hello,

I just installed 1.4beta3 on a RedHat-6.2 box with apache-1.2.12.

I'm using NameVirtualHost with 3 hosts:
www1  (normal --> whithout midgard) works fine.
www2  midgard, works fine with the example, but the URL needs
include www2/example  (the prefix on the host table looks as
/example).
www3  midgard admin.  Works as www1.  If I add /admin to URL
I need to enter the authetication. But I tried with admin/password,
midgard/midgard, admin/midgard, etc.  But doesn't work.

I read the FAQ's and POSTINSTALL files.  I tried differents
posibilities, but nothing happen.

I made the followings steps:
1. rpm --rebuild --targer=1686 for each three midgard src.rpm package.
2. I test the midgard-php just using <? phpinfo ?> and works fine.
3. I look for mod_midgard with server-info and looks ok.
4. I added the tables to MySQL (3.22.32)
# mysqladmin create midgard
# mysql midgard < tables.sql
# mysql midgard < midgard-en.sql
And I inserted the midgard/password to MySQL, and I added the
priviledges. It works ok, because I tried after:
# mysql -u midgard -p
and works ok.

On the apache httpd.conf file I set:
DocumentRoot "/home/httpd/midgard"
MidgardEngine on
MidgardRootfile /home/httpd/midgard/midgard-root.php3
#MidgardDatabase        midgard
#MidgardUserName        midgard
#MidgardPassword        midgard  <-- I tried with/without comments
<Files midgard-root.php3>
        require valid-user
        AuthName Midgard
        AuthType Basic
</Files>

before than <Directory /> as I read on the POSTINSTALL mod_midgard
file.

NameVirtualHost my_IP
<VirtualHost my_IP>
     ServerAdmin foo@www1
     ServerName  www1
     DocumentoRoot "foo"
     <Directory "foo">
     ...
     </Directory>
</VirtualHost my_IP>

<VirtualHost my_IP>
     ServerAdmin foo@www2
     ServerName www2
</VirtualHost>

<VirtualHost my_IP>
     ServerAdmin foo@www3
     ServerName www3
</VirtualHost>

What's is missing?

Thank's in advance,

--
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html


--
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]

Reply via email to