home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,699 of 14,669   
   Hongyi Zhao to barmar@alum.mit.edu   
   Re: Want to find the real IP address of    
   01 Feb 09 12:50:31   
   
   From: hongyi.zhao@gmail.com   
      
   On Sat, 31 Jan 2009 13:13:39 -0500, Barry Margolin   
    wrote:   
      
   >Here's another way to see how this works:   
   >   
   >curl -H'Host: prola.aps.org' http://209.133.34.35/pdf/PRB/v1/i1/p1_1   
   >   
   >This makes the distinction between the Host header and the server IP   
   >more obvious.   
      
   Thanks for all the help here, I've sorted it out.   
      
   Here are other two writing methods equivalent th your commands:   
      
   $ curl --header HOST:prola.aps.org   
   http://209.133.34.35/pdf/PRB/v1/i1/p1_1   
      
   $ curl --header 'Host: prola.aps.org'   
   http://209.133.34.35/pdf/PRB/v1/i1/p1_1   
      
   Regards,   
      
   --   
   .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca