Index: [Article Count Order] [Thread]

Date:  Fri, 29 Sep 2006 09:07:48 +0200
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:07293] Re: Programming the BQ ui
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200609290907.48484.bq (at mark) solarspeed.net>
In-Reply-To:  <451CBB24.10506 (at mark) enavn.com>
References:  <451B8BC5.4090106 (at mark) enavn.com> <Pine.LNX.4.63.0609281052460.26101 (at mark) mail.nuonce.net> <451CBB24.10506 (at mark) enavn.com>
X-Mail-Count: 07293

Hi Jes Kasper Klittum,

> Thanks - however, I do not have great knowledge of php. Could anyone
> enlighten me how to load the requested url through a phh handler script
> or send me to a page where I can learn?

Suggestion:

In your GUI page use ...

url="/base/feature/filename.php"

... as Brian suggested.

Then create /usr/sausalito/ui/web/base/feature/filename.php and put the 
following code in it:

<?php
$dn = getenv('SERVER_NAME');
header ("Location: http://$dn/myitem");
?>

Problem solved. 

That just one way to do it. There may be others that are more elegant, but 
this gets the job done without too much jumping through too many loops.

-- 

With best regards,

Michael Stauber