chris,

thanks for the reply.  comments below...

On 3 Apr 2003, Chris Davies wrote:

> MidgardRootFile "/usr/lib/apache/midgard-root.php"
> 
> Is that indeed where you have that file?


yep.  here:

[EMAIL PROTECTED] midgard-data-1.4.4]# cat /usr/lib/apache/midgard-root.php
<?php
   /* $Id: midgard-root.php,v 1.4 2002/11/08 16:19:50 bergie Exp $ */
   /* This is the Midgard root file.                          */
   /* First we set up some global variables for Midgard pages */
   /* and then we start the page generation process by        */
   /* invoking a set of standard templates.                   */

   /* Uncomment the following line if you want to get dates
   /* localized (replace second parameter with correct locale)*/
   /* setlocale("LC_ALL","ru_RU.KOI8-R");                     */

   if(!function_exists("mgd_get_midgard")) {
      dl("midgard.so");
   }
   if ($midgard = mgd_get_midgard()) {
      $argc = $midgard->argc;
      $argv = $midgard->argv;
   }
   function mgd_execute_udf($variable, $selector)
   {
      $function = mgd_register_filter($selector);
      $function($variable);
   }
   function mgd_register_filter($selector, $function=NULL)
   {
      static $udf = array();

      if (is_null($function)) {
         return $udf[$selector];
      }

      if ($function == '') {
         unset($udf[$selector]);
      } else {
         $udf[$selector] = $function;
      }

      return 1;
   }
   mgd_eval("?>".mgd_template("code-compat")."<?","code-compat");
   mgd_eval("?>".mgd_template("code-global")."<?","code-global");
   mgd_eval("?>".mgd_template("code-init")."<?","code-init");

   if ($midgard && $midgard->style == 0) {
      mgd_eval("?>".mgd_template("content")."<?","content");
   } else {
      mgd_eval("?>".mgd_template("ROOT")."<?","ROOT");
   }


> 
> anything useful in apache's error log?

not that i can tell.  i see stuff like this in /var/log/http/errors:

[Thu Apr  3 08:46:36 2003] [error] [client 216.107.220.86] File does not 
exist:/var/www/html/aegir
[Thu Apr  3 08:46:44 2003] [error] [client 216.107.220.86] File does not 
exist:/var/www/html/asgard
[Thu Apr  3 08:46:48 2003] [error] [client 216.107.220.86] File does not 
exist:/var/www/html/asgard/
[Thu Apr  3 08:48:06 2003] [notice] caught SIGTERM, shutting down
[Thu Apr  3 08:48:07 2003] [notice] Apache/1.3.27 (Unix)  (Red-Hat/Linux) 
Midgard/1.4.4/SG PHP/4.1.2 mod_perl/1.26 configured -- resuming normal operations
[Thu Apr  3 08:48:07 2003] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)
[Thu Apr  3 08:48:07 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Apr  3 09:36:26 2003] [error] [client 216.107.220.86] File does not 
exist:/var/www/html/asgard
[Thu Apr  3 09:36:31 2003] [error] [client 216.107.220.86] File does not 
exist:/var/www/html/asgard/


hmmmm.

any other good troubleshooting?

perhaps some prints in the midgard-root file?

t.

> 
> On Thu, 2003-04-03 at 11:43, Todd Underwood wrote:
> 
> > but when i go to:
> > 
> > 129.121.3.33/asgard
> > or
> > 129.121.3.33/aegir
> > or
> > 129.121.3.33/example
> > 
> > i get a not-found error.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 

todd underwood, sr. vp & cto
oso grande technologies, inc.
[EMAIL PROTECTED]

"The people never give up their liberties but under some delusion."
            --Edmund Burke, Speech at County Meeting of Bucks, 1784. 


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

Reply via email to