Hi,
Sorry for the late reply, but here it goes:
"Gottfried Ryser" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I found the error-log, also I see only one instance of the Apache running,
> but some errors in the error_log
>
> [Mon Apr 24 22:05:10 2000] [notice] Apache/1.3.6 (Unix) (Red Hat/Linux)
> configured -- resuming normal operations
This line tells me that your apache is _not_ midgard-enabled, or in other
words, the modules are not loaded.
> [Mon Apr 24 22:05:53 2000] [error] [client 127.0.0.1] File does not exist:
> /home/httpd/html/info.php
> [Tue Apr 25 09:17:26 2000] [notice] caught SIGTERM, shutting down
> [Tue Apr 25 09:17:26 2000] [error] Cannot remove module mod_php3.c: not
> found in module list
> [Tue Apr 25 09:17:26 2000] [error] Cannot remove module mod_midgard.c: not
> found in module list
> [Tue Apr 25 09:17:28 2000] [error] Cannot remove module mod_php3.c: not
> found in module list
> [Tue Apr 25 09:17:28 2000] [error] Cannot remove module mod_midgard.c: not
> found in module list
These lines tell me that you do have the LoadModule and AddModule directives
to insert these modules into apache, but they are not loaded upon startup.
Check the loadmodule lines for mod_midgard and mod_php3, and see if the
files these directives point to really exist.
I see two possible reasons for this to happen:
a) your apxs has for some odd reason installed the modules in the wrong
place, or
b) you have edited httpd.conf, but not compiled and 'make install'd them.
> [Tue Apr 25 09:17:28 2000] [error] VirtualHost 195.246.72.5:8099 -- mixing
*
> ports and non-* ports with a NameVirtualHost address is not supported,
> proceeding with undefined results
> [Tue Apr 25 09:17:28 2000] [error] VirtualHost 195.246.72.5:8101 -- mixing
*
> ports and non-* ports with a NameVirtualHost address is not supported,
> proceeding with undefined results
> [Tue Apr 25 09:17:28 2000] [warn] NameVirtualHost 195.246.72.5:8099 has no
> VirtualHosts
> [Tue Apr 25 09:17:28 2000] [warn] NameVirtualHost 195.246.72.5:8101 has no
> VirtualHosts
These indicate that you have some (non-critical) errors in your httpd.conf,
check the virtual hosts section.
> [Tue Apr 25 09:17:28 2000] [info] created shared memory segment #1664
> [Tue Apr 25 09:17:28 2000] [notice] Apache/1.3.6 (Unix) (Red Hat/Linux)
> configured -- resuming normal operations
> [Tue Apr 25 09:17:28 2000] [info] Server built: Apr 7 1999 17:17:41
>
>
> The box is in a network and 195.246.72.5 is the IP address of this Linux
> box. I used the name viper.cgx.ch
>
>
>
> This is what I added to httpd.conf
>
> LoadModule midgard_module modules/mod_midgard.so
> AddModule mod_midgard.c
> LoadModule php3_module modules/libphp3.so
> AddModule mod_php3.c
>
> AddType application/x-httpd-php3 .phtml .php3 .php
>
> NameVirtualHost 195.246.72.5
> NameVirtualHost 195.246.72.5:8099
> NameVirtualHost 195.246.72.5:8101
>
Change this to:
NameVirtualHost 195.246.72.5
> MidgardEngine on
>
> MidgardRootfile /home/httpd/html/midgard/midgard-root.php3
>
> <Directory /home/httpd/midgard>
> require valid-user
> AuthName Midgard
> Authtype Basic
> </Directory>
>
> <VirtualHost 195.246.72.5:8101>
> ServerName viper.cgx.ch
> Port 8101
> </Virtualhost>
>
> <VirtualHost 195.246.72.5>
> ServerName viper.cgx.ch
> Port 80
> DocumentRoot /home/httpd/html
> AddType application/x-httpd-php3 .phtml .php3 .php
> DirectoryIndex index.html index.shtml index.php3 index.phtml index.php
> </Virtualhost>
>
> <VirtualHost 195.246.72.5:8099>
> ServerName viper.cgx.ch
> Port 8099
> </Virtualhost>
>
> Listen 80
> Listen 8099
> Listen 810
Last one should be Listen 8101
This should help you to get rid of some errors, but you really need to get
the modules to be loaded by apache upon start.
> LoadModule midgard_module modules/mod_midgard.so
> AddModule mod_midgard.c
> LoadModule php3_module modules/libphp3.so
> AddModule mod_php3.c
So check if mod_midgard.so and libphp3.so are really in <apachedir>/modules/
. It is very possible that they live in <apachedir>/libexec/ , in that case
you should change modules/mod_midgard.so and modules/libphp3.so to be
libexec/mod_midgard.so and libexec/libphp3.so.
Hope this helps,
Armand.
--
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]