thanks man for replying ...
actually the program is my one made
iam trying to make a web crawler so iam using unix socket api's
as i use
write(sockfd,"GEt url HTTP 1.1\r\nHost:\r\n\r\n",30);
and then read it
read(sockfd,buf,sizeof(buf));

but i dont understand what do u mean by redirect ...i mean when someone
redirects it gives a nrw url to follow?????
where do you find that url in the reply if it does so???

thanx
Mohan

On Sun, Nov 9, 2008 at 2:53 PM, Krist van Besien
<[EMAIL PROTECTED]>wrote:

> On Sun, Nov 9, 2008 at 8:16 AM, Mohan gupta <[EMAIL PROTECTED]>
> wrote:
>
> > but when i try to view this from the browser with exactly the same url
> > i have the image .....what can be wrong....
>
> At first glance nothing is wrong. Your server is sending a redirect.
> Your browser will follow this redirect without you being aware of it.
> The program that produced the output you showed us appears not to
> follow redirects.  This can be by design, or this can be a bug, or it
> can be just an invocation or configuration issue.
> This cannot be determined without more knowledge of this program however.
>
> What is the command that produced this output and what do you expect from
> it?
>
> Krist
>
> --
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to