> >
> > I tried to use pageresolve but I do not know where it is dumped.
> 
> midgard-pageresolve -u /admin/ -v -d /dev/null

Working site:

midgard-pageresolve -S localhost  -p 8099 -u / -r /var/www/midgard-root.php4  -d 
./normal.html
Touching the cache
Resolving host: http://localhost:8099/
Host found: 33 in sitegroup 3
Resolving page: http://localhost:8099/
Page found: 126, active=0, redirect=0
Path: 126:
Style: 40
Rebuilding cache for 126
Parse page
Page parse done

<? /* $Id: midgard-root.php,v 1.1 2001/02/23 23:08:04 emile 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;
   }
   mgd_eval("?>".mgd_template("code-compat")."<?","code-compat");
   mgd_eval("?>".mgd_template("code-global")."<?","code-global");
   mgd_eval("?>".mgd_template("code-init")."<?","code-init");
   mgd_eval("?>".mgd_template("ROOT")."<?","ROOT");
?>

Admin site :

 midgard-pageresolve -S localhost  -p 8099 -u /admin -r /var/www/midgard-root.php4  -d 
./admin.html

Touching the cache
Resolving host: http://localhost:8099/admin
Host found: 1 in sitegroup 0
Resolving page: http://localhost:8099/admin
Page found: 5, active=0, redirect=1
Path: 5:
Style: 1
Rebuilding cache for 5
Parse page
Page parse done

<? /* $Id: midgard-root.php,v 1.1 2001/02/23 23:08:04 emile 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;
   }
   mgd_eval("?>".mgd_template("code-compat")."<?","code-compat");
   mgd_eval("?>".mgd_template("code-global")."<?","code-global");
   mgd_eval("?>".mgd_template("code-init")."<?","code-init");
   mgd_eval("?>".mgd_template("ROOT")."<?","ROOT");
?>



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

Reply via email to