Which Happens First? Anyone Know Exactly How The Apache Server Will Handle This Request?

Posted by user310594 on Stack Overflow See other posts from Stack Overflow or by user310594
Published on 2010-04-07T03:48:31Z Indexed on 2010/04/07 3:53 UTC
Read the original article Hit count: 250

Filed under:
|
|

Hello, To keep things simple, please allow the "assumption" that some code requires the use of a full URL, even though the domain is on the same server, i.e. a simple file path cannot be used.

TCP/IP?? Question: If a form action target = "http://this-full-URL.com/postdata" (for example) and that URL is also on the same server, then which happens first?

A) Data is sent "out onto the web", and then returns to the same server, or

B) Before sending any (possibly sensitive) data, the server (Linux, Apache, PHP), first "discovers" the target address is local, so (clearly) no data is sent over the net? Thank you.

© Stack Overflow or respective owner

Related posts about apache

Related posts about web-security