I had a development midgard system running fine (still is), and decided
to strech my luck, and get it running on a production machine. I think
I've done everything. I installed the RPMs, got it all configured with
Apache [0] and installed the database [1], but it doesn't work - going to
http://midgard.sunnydale.antefacto.com/asgard/ gives me a 404.

 What sort of things should I check ?

[0] - 

<VirtualHost 172.24.50.1>
    MidgardRootfile /usr/lib/apache/midgard-root.php3
    DocumentRoot "/var/www/midgard/html"
    MidgardEngine On
    ServerName midgard.sunnydale.antefacto.com
    MidgardDatabase midgard midgard midgard
    MidgardDefaultRealm "My Midgard"
    MidgardBlobDir  /var/www/blobs
    php3_magic_quotes_gpc off
    php3_magic_quotes_runtime off
</VirtualHost>

 From /server-info;

Module Name: mod_midgard.c 
Content handlers: none
Configuration Phase Participation: Child Init, Create Directory Config,
Merge Directory Configs, Create Server
Config, Merge Server Configs
Request Phase Participation: Translate Path, Verify User ID, Check Type
Module Directives: 
     MidgardDatabase - Name of the Midgard database, username and password from which 
to fetch content
     MidgardPageDatabase - Name of the Midgard database, username and password from 
which to fetch
     pages 
     MidgardAuthDatabase - Name of the Midgard database, username and password from 
which to
     authenticate 
     MidgardEngine - On or Off to enable or disable (default) the Midgard engine 
     MidgardRootfile - Location of the Midgard root file 
     MidgardParser - Select Midgard text parser (latin1|russian) 
     MidgardBlobDir - Location of the Midgard BLOBs 
     MidgardDefaultRealm - Default Midgard Basic Auth Realm 
     MidgardAuth - On or Off to enable or disable (default) Midgard Auth for 
non-midgard requests 
     MidgardTemplate - Name of the Midgard filetemplate style element files 
Current Configuration: 
httpd.conf 
     MidgardRootfile /usr/lib/apache/midgard-root.php3
     MidgardEngine On
     MidgardDatabase midgard midgard midgard
     MidgardDefaultRealm "My Midgard"
     MidgardBlobDir /var/www/blobs

 All working fine. I just changed the database manually to:

mysql> select * from host;
+----+---------------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
| id | name                            | root | style | info | owner | port | online | 
|prefix              | sitegroup |
+----+---------------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
|  1 | midgard.sunnydale.antefacto.com |    4 |     1 | auth |     0 |    0 |      1 | 
|/asgard             |         0 |
|  2 | midgard.sunnydale.antefacto.com |    4 |     2 | auth |     0 |    0 |      1 | 
|/asgard/framed      |         0 |
|  3 | midgard.sunnydale.antefacto.com |    4 |     3 | auth |     0 |    0 |      1 | 
|/asgard/framed/top  |         0 |
|  4 | midgard.sunnydale.antefacto.com |    4 |     4 | auth |     0 |    0 |      1 | 
|/asgard/framed/main |         0 |
+----+---------------------------------+------+-------+------+-------+------+--------+---------------------+-----------+
4 rows in set (0.00 sec)

Kate, the confused

-- 
 When I say 'free', I mean 'free': free from bond, of chain or command: 
to go where you will, even to Mordor, Saruman, if you desire. " 
    -- Gandalf, paraphrasing the choice between Free and Non-free software

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to