[FX.php List] GET vs. POST in a web app

Erik Andreas Cayré erik at cayre.dk
Tue May 8 02:21:23 MDT 2007


Den 08/05/2007 kl. 8.52 skrev Bob Patin:

> I'm not sure what that means; server_data.php specifies the  
> location of the WPE install.
>
> I already switched everything; I had to first remove the WPE  
> connection from FM Admin; then I went into the Admin Console on WPE  
> #1, deleted the IP address, username, and password. Still FM Server  
> seemed to be holding on to WPE #1. So I quit FM Server and  
> restarted it, and it then saw WPE #2.
>
> After reconfiguring the DNS for all the sites, I was up and  
> running; it was a faiirly long process (2 hours), but it's working  
> fine now.

The DNS process could be simplified:
-name the server (eg. imac2.longtermsolutions.com IN A xx.xx.xx.xx)
-use CNAME for all solutions (eg. www.customer.com IN CNAME imac2.  
longtermsolutions.com)

When moving a site to another server, just change the customer DNS  
(eg. www.customer.com IN CNAME imac3.longtermsolutions.com)

This is much easier to handle...

> Gjermund, I'm not sure what you mean by server_data.php on WPE #2;  
> server_data.php is in each website, not in WPE. So I went through  
> each website (on the new server) and changed the IP address in  
> server_data.php.

My point was this:
If all sites were pointing to a domainname instead of an IP address,  
you would only have had to change the IP in the DNS, and not in each  
site's server_data.php file...

> There is NO way to have 2 running copies of WPE on 2 separate  
> machines, both connecting to ONE FMSA machine. Can't be done. I  
> called FileMaker Inc.; if you figure out how to do it, I'd love to  
> know what you do...
>
> You'll have to do the same thing I did; I puzzled over this for a  
> week, and there just is no other way.
>
> But it's working great now, and much faster.
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
>
>   CONTACT US VIA INSTANT MESSAGING:
>      AIM or iChat: longterm1954
>      Yahoo: longterm_solutions
>      MSN: tech at longtermsolutions.com
>      ICQ: 159333060
>
>
>
> On May 8, 2007, at 1:47 AM, Gjermund Gusland Thorsen wrote:
>
>> But the server_data.php on WPE#2 can connect to WPE#1
>>
>> ggt667
>>
>> On 5/8/07, John May <jmaymailing at pointinspace.com> wrote:
>>> >On 8/5/07 5:38 AM, "Erik Andreas Cayré" <erik at cayre.dk> wrote:
>>> >
>>> >>
>>> >>  Den 07/05/2007 kl. 0.58 skrev Kevin Futter:
>>> >>
>>> >>>  This has caused me no end of head-scratching too, though for  
>>> us our
>>> >>>  ideal
>>> >>>  scenario would exist in reverse - one WPE talking to  
>>> multiple FMSA
>>> >>>  servers.
>>> >>>  Doesn't seem possible whichever way you shake it.
>>> >>
>>> >>  Yes, one WPE engine talking to multiple FMServers *is*  
>>> possible. FMI
>>> >>  has documented this...
>>> >>  See p.35 in the PDF titled fmsa8_web_install.pdf
>>> >
>>> >
>>> >IIRC you can only do it if you establish a relationship between  
>>> two files,
>>> >one on each server. The WPE can still only talk to one server,  
>>> but that
>>> >server can pull data across from the other via the relationship.  
>>> I'll have
>>> >to re-read the page you mention and see if they've inserted  
>>> something new
>>> >when I wasn't looking :-)
>>> >
>>> >--
>>> >Kevin Futter
>>> >Webmaster, St. Bernard's College
>>> >http://www.sbc.melb.catholic.edu.au/
>>>
>>>
>>> This is correct.  One WPE instance can only
>>> connect to ONE FMS instance.  It is that FMS
>>> instance that connects to the other FMS instances
>>> via relationships.
>>>
>>>         - John
>>> --
>>>
>>> -------------------------------------------------------------------
>>> John May : President                 <http://www.pointinspace.com/>
>>> Point In Space Internet Solutions             jmay at pointinspace.com
>>>
>>>         Professional FileMaker Pro, MySQL, Lasso & PHP Hosting
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



---
Erik Andreas Cayré
Spangsbjerg Møllevej 169
6705 Esbjerg Ø

Privat Tel: 75150512
Mobil: 40161183

---
»Interesse kan skabe læring på en skala sammenlignet med frygt, som  
en nuklear eksplosion i forhold til en kineser.«
--Stanley Kubrick

»Kun p....sure mennesker kan ændre verden. Innovation skabes ikke af  
'markedsanalyse', men af folk, der er afsindigt irriterede over  
tingenes tilstand «
--Tom Peters

»Hvis du ikke kan forklare det simpelt, forstår  du det ikke godt nok.«
-- Albert Einstein

»Hvis du ikke har tid til at gøre det rigtigt, hvornår vil du så have  
tid til at lave det om?«
-- John Wooden, basketball coach




More information about the FX.php_List mailing list