Hi Anatol,
I have running midgard on a SuSE 6.4 system:
The changes in the /etc/httpd/httpd.conf file are:
- add the loading for mod_midgard:
LoadModule midgard_module /usr/lib/apache/mod_midgard.so
AddModule mod_midgard.c
The I have all the other optinos in a seperate file, which I include at the end
of httpd.conf:
include /etc/httpd/midgard-data.conf
The content of /etc/httpd/midgard-data.conf:
-------------/etc/httpd/midgard-data.conf ---------
MidgardDatabase midgard midgard yourpassword
MidgardRootfile /usr/lib/apache/midgard-root.php3
<Files midgard-root.php3>
require valid-user
AuthName Midgard
AuthType Basic
</Files>
Listen 80
NameVirtualHost xx.xx.xx.xx:80
<VirtualHost xx.xx.xx.xx:80>
MidgardEngine On
ServerName [EMAIL PROTECTED]
Port 80
# Switch off magic quotes - it is required with Midgard
php3_magic_quotes_gpc off
php3_magic_quotes_runtime off
# Configure text parser:
# Change to 'russian' for Russian Midgard
MidgardParser latin1
# 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>
<Files midgard-root.php3>
require valid-user
AuthName Midgard
AuthType Basic
</Files>
</VirtualHost>
------------- snip ---------------
You see, I haven't made any changes to the standard installation.
I hope, the will work for you to.
mfg
Ralf
--
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]