RE: Geting web pages via Linux [and etc]

new topic     » goto parent     » topic index » view thread      » older message » newer message

The solution is simple:

I changed the 'GET' request to:

 write(SOCKET, sprintf("GET /%s HTTP/1.1\nHost: %s\n\n",
                       {filename,hostname}))

It now works fine with virtual domains.

Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu