>Dear Friends,
>  It is quite a week  that I am trying to install midgard. I  used step by 
>step the installation guide.
>I installed apache 1.3, Mysql  3.22.32 and all the libraries, using the 
>Linux Red Hat 7.2 installation disks, they seem to work correctly. Then I 
>installed and configured all the packages downloaded from midgard �s site 
>but at the end, I opened the browser using all the instructions from the 
>guide, so a form appeared where I wrote login and password but when I 
>clicked the submit button nothing happened. What can i do? Can you help me 
>to resolve this problem or to  find some documentation that  explain step 
>by step how to do the  installation ? thanks for your help.
>                                                                         
>Anna
>
>

Hello Anna,
I installed midgard 1.4.2-1 last week on RH7.2 and here is my step-by-step 
manual with some ./configures . I think it could help you.

good luck
juraj

INSTALLATION:
0. installation of RH7.2 (only with X,Gnome,KDE,DNS)

1. mysql3.23.49a from rpms

2. glib 1.2.8, zlib 1.1.4, expat1.95.2 (from source)

3. apache 1.3.24 instalation from source
./configure --prefix=/usr/local/apache --enable-module=most 
--enable-shared=max

4.Midgard library
./configure --prefix=/usr/local/midgard --with-mysql=/usr/lib/mysql 
--with-expat=/usr

5a.Midgard database
./configure --with-db-admin-user=root --with-db-admin-password='' 
--with-host=yourhostname 
--with-blobdir=/usr/local/apache/htdocs/blobs--with-midgard=/usr/local/midgard 
--with-apxs=/usr/local/apache/bin/apxs --with-apache-user=nobody 
--with-asgard --with-php=4 --with-install=new

5b. ./dbinstall


6a.Apache module
./configure --with-midgard=/usr/local/midgard --with-expat=/usr 
--with-apxs=/usr/local/apache/bin/apxs


7.PHP 4.2.0
./configure --with-mysql=/usr --with-apxs=/usr/local/apache/bin/apxs 
--with-expat=/usr

8.Midgard PHP module
./mkall

9. restart apache


DO NOT FORGET:

a. edit ld.so.conf adding apache's and midgard's libraries then run ldconfig

b.images copied to the apache's doc root

c.midgard-data.conf copied to the same directory where httpd.conf seats
  + edit httpd.conf : add include /usr/local/apache/conf/midgard-data.conf

d.edit php.ini :
extension=midgard.so and
extension_dir=/usr/local/lib/php/extension/no-debug...

e.edit your midgard-data.conf:
here is example :

MidgardRootFile "/usr/local/apache/libexec/midgard-root.php"
Listen 80
Listen 8099
Listen 8101
Listen 8102

NameVirtualHost your_IP:80
NameVirtualHost your_IP:8099
NameVirtualHost your_IP:8101
NameVirtualHost your_IP:8102

<VirtualHost your_IP:80>
   MidgardEngine On
   ServerName your_host_name
   Port 80
   DocumentRoot /usr/local/apache/htdocs


   # Switch off magic quotes - it is required with Midgard
   php_value magic_quotes_gpc off
   php_value magic_quotes_runtime off

   # Configure text parser:
   # Change to 'russian' for Russian Midgard
   MidgardParser latin1
   MidgardBlobDir "/usr/local/apache/htdocs/blobs"

   # Configuration for Russian Midgard:
   <IfModule mod_charset.c>
    # default charset for real or virtual server (selected if all other 
charset-
    # selections methods fails)
    CharsetDefault koi8-r
    # Default source (on-disk) charset (we keep all content in DB in KOI8-R
    # encoding). If you want different encoding, please re-encode 
midgard-ru.sql
    # before inserting it into DB too.
    CharsetSourceEnc koi8-r
    # Force mod_charset to do its work
    CharsetDisable Off
   </IfModule>
</VirtualHost>

<VirtualHost your_IP:8099>
    MidgardEngine on
    ServerName your_host_name
    php_value magic_quotes_gpc off
    php_value magic_quotes_runtime off
</VirtualHost>

<VirtualHost your_IP:8101>
     MidgardEngine on
     ServerName your_host_name
     php_value magic_quotes_gpc off
     php_value magic_quotes_runtime off
</VirtualHost>

  <VirtualHost your_IP:8102>
      MidgardEngine on
      ServerName your_host_name
      MidgardBlobDir /usr/local/apache/htdocs/blobs
      php_value magic_quotes_gpc off
      php_value magic_quotes_runtime off
  </VirtualHost>


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to