OK....

> John-Andrew Minniti wrote:
>
> > I restart the server via /etc/rc.d/init.d/httpd restart
> >
> > i don't get any error messages but I cannot bring up the site.
>
> Set LogLevel to debug and try again, let's see what's in the error
> log. I left my crystal ball at the office so in this case you'll need
> to provide me with some hints about your configuration. What does the
> host table look like, and your virtualhost sections.

Here's the Error log information:

When I comment out the LoadModule php3_module and AddModule mod_php3.c below
is the error message

=Begin log file

[Sat Jul 22 09:22:34 2000] [notice] caught SIGTERM, shutting down
[Sat Jul 22 09:22:37 2000] [info] mod_unique_id: using ip addr 64.65.0.44
[Sat Jul 22 09:22:38 2000] [info] mod_unique_id: using ip addr 64.65.0.44
[Sat Jul 22 09:22:38 2000] [info] created shared memory segment #1540
[Sat Jul 22 09:22:39 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard, username=midgard, password=********
[Sat Jul 22 09:22:39 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard, username=midgard, password=********
[Sat Jul 22 09:22:39 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard, username=midgard, password=********
[Sat Jul 22 09:22:39 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard, username=midgard, password=********
[Sat Jul 22 09:22:39 2000] [debug] mod_midgard.c(117): Midgard:
database=midgard, username=midgard, password=********
[Sat Jul 22 09:22:38 2000] [notice] Apache/1.3.6 (Unix) Midgard/1.2.5-5
mod_perl/1.21 mod_ssl/2.2.8 OpenSSL/0.9.2b configured -- resuming normal
operations
[Sat Jul 22 09:22:39 2000] [info] Server built: Mar  7 2000 17:30:02

=End Logfile
(Obviously I commented out the midgard password)

If I include the LoadModule php3_module and AddModule mod_php3.c The
following is in my log file:

=Begin log file

[Sat Jul 22 09:24:37 2000] [notice] caught SIGTERM, shutting down
[Sat Jul 22 09:24:40 2000] [info] mod_unique_id: using ip addr 64.65.0.44

=End Logfile

The Host table is as follows:

INSERT INTO host VALUES
(1,'www.transworldhosting.com',1,1,'auth',0,8101,1,'');
INSERT INTO host VALUES (2,'www.transworldhosting.com',34,2,'',1,8099,1,'');
INSERT INTO host VALUES (3,'www.transworldhosting.com',34,2,'',1,80,1,'');

And finally, the VirtualHost sections

NameVirtualHost 64.65.0.44
<VirtualHost 64.65.0.44>
ServerName ns.transworldhosting.com
ServerAdmin admin
DocumentRoot /home/sites/home/web
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^64.65.0.44(:80)?$
RewriteCond %{HTTP_HOST}                !^ns.transworldhosting.com(:80)?$
RewriteRule ^/(.*)                      http://ns.transworldhosting.com/$1
[L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
</VirtualHost>
<VirtualHost 64.65.0.44>
ServerName www.yermom.net
ServerAdmin admin
DocumentRoot /home/sites/site3/web
ServerAlias yermom.net
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^64.65.0.44(:80)?$
RewriteCond %{HTTP_HOST}                !^www.yermom.net(:80)?$
RewriteRule ^/(.*)                      http://www.yermom.net/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site3/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site3/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>
<VirtualHost 64.65.0.44>
ServerName www.transworldhosting.com
ServerAdmin admin
DocumentRoot /home/sites/site1/web
ServerAlias transworldhosting.com
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^64.65.0.44(:80)?$
RewriteCond %{HTTP_HOST}                !^www.transworldhosting.com(:80)?$
RewriteRule ^/(.*)                      http://www.transworldhosting.com/$1
[L,R]
RewriteOptions inherit
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
AddType application/x-httpd-php3 .phtml .php3 .php
DirectoryIndex index.html index.shtml index.php3 index.phtml index.php
</VirtualHost>

NameVirtualHost 64.65.0.44:8101
<VirtualHost 64.65.0.44:8101>
ServerName www.transworldhosting.com
Port 8101
</VirtualHost>

NameVirtualHost 64.65.0.44:8099
<VirtualHost 64.65.0.44:8099>
ServerName www.transworldhosting.com
Port 8099
</VirtualHost>

>
> > If Icomment out the LoadModule php3_module and AddModule mod_php.c,
> > everything works ok.
>
> "Everything" being... ?

The server restarts apparently without problem

> > P.S. I tried both through tarball and binary, I uninstalled PHP, MySQL
> > first.  Still same problem....
>
> You uninstalled MySQL? I hope you re-installed it then. Without it
> Midgard won't work of course.

I don't know what I was writing, must have been late last night.... I meant
to say that I reinstalled MySQL and PHP (well really uninstalled PHP and
installed Midgard-PHP)

> Emile

I hope this is all the information you wanted... I know its a lot.....
Probably in the end it will just be a stupid mistake on my part.

Again thanks for all your help.

Drew



--
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]

Reply via email to