Hi

 If a page /page1/ is active the page will handle all URLs beginning
 with /page1/ - if there is not a corresponding subpage defined for
 it.

 e.g. defined pages:
 /page1/             (active)
 /page1/subpage1/

 The following URLs will be handled by page1:
 /page1/
 /page1/xyz/
 /page1/xyz/abc/

 /page1/subpage1/ will be handled by subpage1
 
 If an active page handles a request, the argc/argv[] variables
 contain the number of "subpages/tokens" and the names of the
 "subpages".

 http://www.midgard-project.org/documentation/concepts/host_and_page/

 Pascal

----------------------------------------------------------------
simplicity gmbh                                                        
ringstrasse 39         www.simple.ch       tel: +41 61 721 50 40
ch-4106 therwil        [EMAIL PROTECTED]       fax: +41 61 721 50 41
----------------------------------------------------------------


>   --- reply to ---

    Von: Michael Ross (PCT North West)
    Gesendet: Donnerstag, 28. Oktober 2004, 12:49
    An: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
    Betreff: [midgard-user] Webstats

MRPNW> you hit the nail on the head! Thankyou!

MRPNW> What is the difference between static and active anyway?

MRPNW> Cheers

MRPNW> Mike.

MRPNW> -----Original Message-----
MRPNW> From: Pascal Mayer [mailto:[EMAIL PROTECTED]
MRPNW> Sent: 28 October 2004 11:48
MRPNW> To: Michael Ross (PCT North West)
MRPNW> Subject: Re: [midgard-user] Webstats



MRPNW>  Hi

MRPNW>  is the root page of your Midgard Site active? Then the
MRPNW>  /webalizer URL will also be handled by your root page.

MRPNW>  Pascal

MRPNW> ----------------------------------------------------------------
MRPNW> simplicity gmbh                                        
MRPNW> ringstrasse 39         www.simple.ch       tel: +41 61 721 50 40
MRPNW> ch-4106 therwil        [EMAIL PROTECTED]       fax: +41 61 721 50 41
MRPNW> ----------------------------------------------------------------


>>   --- reply to ---

MRPNW>     Von: Michael Ross (PCT North West)
MRPNW>     Gesendet: Donnerstag, 28. Oktober 2004, 12:35
MRPNW>     An: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
MRPNW>     Betreff: [midgard-user] Webstats

MRPNW>> Further info on this:

MRPNW>> In one of our websites I set MidgardEngine to off and tried
MRPNW>> http://<website>/webalizer and it works fine.  Its only when
MRPNW> MidgardEngine
MRPNW>> is turned on does it cause problems.  It is almost as if it is
MRPNW> ignoring the
MRPNW>> Alias setting in the apache vhost config.  All websites not using
MRPNW>> Aegir/Midgard work fine for webstats.  Very strange.

MRPNW>> Mike.

MRPNW>> -----Original Message-----
MRPNW>> From: Michael Ross (PCT North West)
MRPNW>> [mailto:[EMAIL PROTECTED]
MRPNW>> Sent: 28 October 2004 10:49
MRPNW>> To: '[EMAIL PROTECTED]'
MRPNW>> Subject: [midgard-user] Webstats


MRPNW>> Hi All,

MRPNW>> I know you have dealt with webstats through webalizer before and
MRPNW> until I set
MRPNW>> up this new machine I have had it working without any problems
MRPNW> (thanks :-)).

MRPNW>> The problem I have is that on this server, when I go to either
MRPNW>> http://<website>/webalizer/index.html or go through aegir, all I get
MRPNW> is the
MRPNW>> root page of the website being displayed i.e.
MRPNW>> http://<website>/ - In Aegir
MRPNW>> all the sites are listed (summary, monthly data etc) as usual, but
MRPNW> clicking
MRPNW>> on Summary for example, once again takes me to
MRPNW>> http://<website>/ and not the
MRPNW>> webstats.

MRPNW>> All the directories exist, so all I could think of is that it is some
MRPNW> form
MRPNW>> of permissions problem.

MRPNW>> I have aliases set up in all my vhost scripts to point to by
MRPNW> webalizer
MRPNW>> directory:
MRPNW>> <VirtualHost 217.154.157.227:80>
MRPNW>>     ServerName <website>
MRPNW>>     Port 80
MRPNW>>     MidgardEngine On
MRPNW>>     #MidgardPageCacheDir /var/www/midgard/livecache
MRPNW>>     MidgardRootFile "/usr/lib/apache/midgard-root.php"
MRPNW>>     php_flag register_globals on
MRPNW>>     php_value magic_quotes_gpc off
MRPNW>>     php_value magic_quotes_runtime off
MRPNW>>     MidgardDatabase midgardlive midgard midgard
MRPNW>>     MidgardBlobDir "/var/www/midgard/liveblobs"
MRPNW>>     CustomLog /var/log/apache/<website>-access.log combined
MRPNW>>     Alias /webalizer/
MRPNW>> /var/www/localhost/htdocs/webalizer/<website>/
MRPNW>> </VirtualHost>

MRPNW>> The apache error log reports:

MRPNW>> [Thu Oct 28 10:48:55 2004] [debug]
MRPNW>> mod_midgard.c(1325): [client
MRPNW> 62.6.139.11]
MRPNW>> midgard_translate_handler(latin1,
MRPNW>> http://<website>:80/webalizer/usage_200410.html)
MRPNW>> [Thu Oct 28 10:48:55 2004] [debug] select_db.h(67): [client
MRPNW> 62.6.139.11]
MRPNW>> Midgard: switching to midgardlive
MRPNW>> [Thu Oct 28 10:48:55 2004] [debug] mod_midgard.c(852): [client
MRPNW> 62.6.139.11]
MRPNW>> Midgard: resolving path element: user #0 searches link webalizer
MRPNW>> [Thu Oct 28 10:48:55 2004] [debug] mod_midgard.c(151): [client
MRPNW> 62.6.139.11]
MRPNW>> Midgard: locating blob=[159]/webalizer
MRPNW>> [Thu Oct 28 10:48:55 2004] [debug] select_db.h(33): [client
MRPNW> 62.6.139.11]
MRPNW>> Midgard: select_database kept current database midgardlive
MRPNW>> [Thu Oct 28 10:48:55 2004] [debug]
MRPNW>> mod_midgard.c(1446): [client
MRPNW> 62.6.139.11]
MRPNW>> Midgard: using style #17 (22 elements)
MRPNW>> [Thu Oct 28 10:48:55 2004] [debug] select_db.h(33): [client
MRPNW> 62.6.139.11]
MRPNW>> Midgard: select_database kept current database midgardlive

MRPNW>> As far as I can tell it is set up exactly like all the other servers,
MRPNW> but
MRPNW>> for the life of me I cannot figure out why this is happening.

MRPNW>> any ideas?

MRPNW>> Cheers

MRPNW>> Mike

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

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


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

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


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

Reply via email to