PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > HTTP GET not working ...why?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

HTTP GET not working ...why?

Réponse
 
LinkBack Outils de la discussion
Vieux 10/03/2005, 02h05   #1 (permalink)
Yef
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut HTTP GET not working ...why?

I've got a program that accesses the following URL
with a GET command but the server responds with 400.
Is there something unusual about this site?

Thanks.

http://www.nasa.gov/externalflash/An..._noaccess.html

  Réponse avec citation
Vieux 10/03/2005, 02h17   #2 (permalink)
EventHelix.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: HTTP GET not working ...why?

The web server might be rejecting the program because of
unknown browser type. The site is flash based so it must be
checking for browser compatibility.

I would recommend using Ethereal to check the difference
between the HTTP get sent by a regular browser and your
program.

Deepa
--
EventStudio 2.5 - http://www.EventHelix.com/EventStudio
Generate protocol sequence diagrams in PDF and MS Word

  Réponse avec citation
Vieux 10/03/2005, 02h17   #3 (permalink)
EventHelix.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: HTTP GET not working ...why?

The web server might be rejecting the program because of
unknown browser type. The site is flash based so it must be
checking for browser compatibility.

I would recommend using Ethereal to check the difference
between the HTTP get sent by a regular browser and your
program.

Deepa
--
EventStudio 2.5 - http://www.EventHelix.com/EventStudio
Generate protocol sequence diagrams in PDF and MS Word

  Réponse avec citation
Vieux 10/03/2005, 02h24   #4 (permalink)
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: HTTP GET not working ...why?

In article <1110420301.779955.185330@o13g2000cwo.googlegroups .com>,
"Yef" <e97y@yahoo.com> wrote:

> I've got a program that accesses the following URL
> with a GET command but the server responds with 400.
> Is there something unusual about this site?
>
> Thanks.
>
> http://www.nasa.gov/externalflash/An..._noaccess.html


Are you sending the "Host: www.nasa.gov" header? I get a 400 response
if I leave it out, but the GET works when I put it in.

The server is presumably doing virtual hosting, so it needs to know the
hostname of the URL in order to find the proper page.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
  Réponse avec citation
Vieux 10/03/2005, 02h24   #5 (permalink)
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: HTTP GET not working ...why?

In article <1110420301.779955.185330@o13g2000cwo.googlegroups .com>,
"Yef" <e97y@yahoo.com> wrote:

> I've got a program that accesses the following URL
> with a GET command but the server responds with 400.
> Is there something unusual about this site?
>
> Thanks.
>
> http://www.nasa.gov/externalflash/An..._noaccess.html


Are you sending the "Host: www.nasa.gov" header? I get a 400 response
if I leave it out, but the GET works when I put it in.

The server is presumably doing virtual hosting, so it needs to know the
hostname of the URL in order to find the proper page.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
  Réponse avec citation
Vieux 10/03/2005, 03h16   #6 (permalink)
Yef
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: HTTP GET not working ...why?

I wasn't sending Host.

Incidentally, I've got another bizarre host:

http://www.oreilly.com/openbook/webclient/ch03.html

It sends back HTML which doesn't look like what later
appears in the browser, e.g. title= MakeZine.com

Do you have any idea what's going on with that?
Thanks.

  Réponse avec citation
Vieux 10/03/2005, 03h16   #7 (permalink)
Yef
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: HTTP GET not working ...why?

I wasn't sending Host.

Incidentally, I've got another bizarre host:

http://www.oreilly.com/openbook/webclient/ch03.html

It sends back HTML which doesn't look like what later
appears in the browser, e.g. title= MakeZine.com

Do you have any idea what's going on with that?
Thanks.

  Réponse avec citation
Vieux 10/03/2005, 07h18   #8 (permalink)
Adrienne
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: HTTP GET not working ...why?

Gazing into my crystal ball I observed "Yef" <e97y@yahoo.com> writing in
news:1110424562.187552.176510@l41g2000cwc.googlegr oups.com:

> I wasn't sending Host.
>
> Incidentally, I've got another bizarre host:
>
> http://www.oreilly.com/openbook/webclient/ch03.html
>
> It sends back HTML which doesn't look like what later
> appears in the browser, e.g. title= MakeZine.com
>
> Do you have any idea what's going on with that?
> Thanks.
>


Sounds like you might have been hijacked. If you're on a windows system,
take a look at your hosts file and see if there is anything suspicious in
it. See <http://www.mvps.org/win2002/hosts.htm> for more info. Also
run a spyware checker, Spybot Search & Destroy is very good
<http://security.kolla.de/>, and I would also run a virus check.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h27.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12207 seconds with 16 queries