To stop users forgetting whether they're on our development or production servers I'd like to put a simple script in welcome.html to echo the hostname (or some other stuff) I've tried both javascript and php but no luck. Is this supported or should I dig further into our Apache config? Or is there a better way to do it? Thanx, Russell Smithies ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. =======================================================================
It does of course work, just my scripting skills have faded with lack of use :( --Russell From: galaxy-dev-bounces@lists.bx.psu.edu [mailto:galaxy-dev-bounces@lists.bx.psu.edu] On Behalf Of Smithies, Russell Sent: Thursday, 14 June 2012 10:37 a.m. To: galaxy-dev@lists.bx.psu.edu Subject: [galaxy-dev] scripts in welcome.html? To stop users forgetting whether they're on our development or production servers I'd like to put a simple script in welcome.html to echo the hostname (or some other stuff) I've tried both javascript and php but no luck. Is this supported or should I dig further into our Apache config? Or is there a better way to do it? Thanx, Russell Smithies ________________________________ Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. ________________________________
You mean the javascript works right? Or did you manage to get the PHP inside? Alex Van: galaxy-dev-bounces@lists.bx.psu.edu [mailto:galaxy-dev-bounces@lists.bx.psu.edu] Namens Smithies, Russell Verzonden: donderdag 14 juni 2012 1:45 Aan: galaxy-dev@lists.bx.psu.edu Onderwerp: Re: [galaxy-dev] scripts in welcome.html? It does of course work, just my scripting skills have faded with lack of use :( --Russell From: galaxy-dev-bounces@lists.bx.psu.edu<mailto:galaxy-dev-bounces@lists.bx.psu.edu> [mailto:galaxy-dev-bounces@lists.bx.psu.edu]<mailto:[mailto:galaxy-dev-bounces@lists.bx.psu.edu]> On Behalf Of Smithies, Russell Sent: Thursday, 14 June 2012 10:37 a.m. To: galaxy-dev@lists.bx.psu.edu<mailto:galaxy-dev@lists.bx.psu.edu> Subject: [galaxy-dev] scripts in welcome.html? To stop users forgetting whether they're on our development or production servers I'd like to put a simple script in welcome.html to echo the hostname (or some other stuff) I've tried both javascript and php but no luck. Is this supported or should I dig further into our Apache config? Or is there a better way to do it? Thanx, Russell Smithies ________________________________ Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. ________________________________
yes, javascript and ssi work and i use them for other purposes (grid load meter) but i've found it convenient to have two welcome.html files -- e.g. welcome.html.dev, welcome.html.main -- a use a symlink to point to the correct one. On Wed, Jun 13, 2012 at 3:37 PM, Smithies, Russell < Russell.Smithies@agresearch.co.nz> wrote:
To stop users forgetting whether they’re on our development or production servers I’d like to put a simple script in welcome.html to echo the hostname (or some other stuff)****
I’ve tried both javascript and php but no luck. Is this supported or should I dig further into our Apache config?****
Or is there a better way to do it?****
** **
Thanx,****
** **
Russell Smithies****
------------------------------
*Attention: *The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately.
------------------------------
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
participants (3)
-
Bossers, Alex
-
Edward Kirton
-
Smithies, Russell