Hi all
Armand gave me some hints to locate my errors in the installation. I think
the part with the mix of virtual hosts is the easier. I think something is
wrong with configure or? I got no error msg during configure and linking. Or
shall I start again from the beginning?
I'm using 1.4b3 on a RH 6.0 box
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
[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
[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
[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
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
I think you will see my problems
Gottfried
>
Hmmm... let's first try to find out wether your apache does load mod_midgard
and midgard_php...
1. find out where your error.log (may well be in /usr/local/apache/logs/)
2. Open httpd.conf in an editor, search for LogLevel, and change it to
LogLevel debug
3. tail -f /usr/local/apache/logs/
4. stop and start apache from a different window.
please let us know what the first 15 lines are that apear in the tail -f
window after restarting apache.
be aware though, that if you tried to install from source and later from RPM
(or the other way round) you may have two instances of apache lying around.
Be sure that you are working with the correct error.log and httpd.conf.
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]
--
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]