Carlo Blum wrote:
>
> David Guerizec wrote:
>
>
>> Carlo Blum wrote:
>>
>>
>>> Hello,
>>>
>>> I tried to install Midgard 1.4 from scratch (downloading Apache, Mysql,
>>> Midgard, Glib, expat ..). I compiled all modules with success on a Suse
>>> 7.0 platefrom. All moldes run (I can acces the the Midgard MySql
>>> database) and Apache.
>>>
>>> However I cannot make midgard work. The following lines describe my
>>> configuration. Can anynone give me help?
>>>
>>> Thank you..
>>>
>>> Blum Carlo
>>>
>>
>> <snip>
>>
>> You have to set all your hosts on the SAME PORT.
>> These are midgard hosts, but actually from the client side they are only
>> one.
>>
>
>
> Do you mean that I have to alter my http.conf file? What do you mean by SAME
> port? I tried this config file which was created by the midgard-data project
> while compiling (with no success)
>
Yes, alter your httpd.conf to have only one host (like the one below)
and change the port to 0 (for all) or 80 (or the one you specify in your
Listen directive) in your midgard host table.
> MidgardDatabase midgard midgard midgard
> MidgardTemplate phpelements.xml
> AddType application/x-httpd-php-midgard .mgd
>
# Add:
MidgardRootFile path/to/midgard-root.php3
> Listen 80
If it says cannot bind to port 80, then remove this Listen (it means
that you already have it in httpd.conf)
> NameVirtualHost 148.110.32.33:80
> <VirtualHost 148.110.32.33:80>
> MidgardEngine On
> ServerName info.bi.etat.lu
> Port 80
>
> # Switch off magic quotes - it is required with Midgard
> php3_magic_quotes_gpc off
> php3_magic_quotes_runtime off
>
> MidgardParser latin1
> MidgardBlobDir "/usr/local/apache/htdocs/info/blobs"
I suggest you put this directive outside of the <VirtualHost> block if
you're planning to use different virtualhosts within the same midgard db.
> </VirtualHost>
>
>
Once you have this setup running, you could then play with different ports.
One thing, though, use the same port for the four hosts prefixed with
/asgard*
> --
> ------------------------------------------
> Blum Carlo
>
--
Best Regards,
David Guerizec Open Source Developer
Aurora R&D [EMAIL PROTECTED]
Midgard core developer http://www.midgard-project.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]