LINUX programming

Moderators: ITA
Number of threads: 1339
Number of posts: 2924

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
do explain about an HTTP serrver. Posted by Kishore on 5 Feb 2001 at 2:12 AM
I couldn't understand by the term HTTP server. how to connect to that server and retrieving info from that or getting a document from that server.
Do tell me.


Report
HTTP server is... Posted by ILove2Program on 4 Mar 2001 at 10:49 PM
An HTTP server is any computer set up to handle and distribute requests to web browsers on "client" computers. For example:

I have a computer with a text document on my hard drive that says "This is a web page" saved as index.html. When you go to your computer and get on the internet and type in the address to my computer (whatever it may be) your browser will download my index.html and display "This is a web page" on your screen.

Of course all the inbetween stuff is slightly complicated, but I can explain further if you need me too.





Report
Do expalin this... Posted by rampishere on 16 Mar 2001 at 7:28 AM
: An HTTP server is any computer set up to handle and distribute requests to web browsers on "client" computers. For example:
:
: I have a computer with a text document on my hard drive that says "This is a web page" saved as index.html. When you go to your computer and get on the internet and type in the address to my computer (whatever it may be) your browser will download my index.html and display "This is a web page" on your screen.
:
: Of course all the inbetween stuff is slightly complicated, but I can explain further if you need me too.
:
:
:
:
:

Well, i got u'r explanation. I have created a program by which i have created a server (which is running in the same m/c ) and a client prog which asks for a file name and gets the contents of the file to the client.O.S is unix.if i run the server in another directory or anothers login i am unable to get the connections properly (like transfering of files).
consider if i want to transfer an file from the any domain, consider ftp.com then how will i get to know the ip address and the port no.
Please do explain about it.




Report
Re: Do expalin this... Posted by gautam on 16 Mar 2001 at 9:11 AM
: : An HTTP server is any computer set up to handle and distribute requests to web browsers on "client" computers. For example:
: :
: : I have a computer with a text document on my hard drive that says "This is a web page" saved as index.html. When you go to your computer and get on the internet and type in the address to my computer (whatever it may be) your browser will download my index.html and display "This is a web page" on your screen.
: :
: : Of course all the inbetween stuff is slightly complicated, but I can explain further if you need me too.
: :
: :
: :
: :
: :
:
: Well, i got u'r explanation. I have created a program by which i have created a server (which is running in the same m/c ) and a client prog which asks for a file name and gets the contents of the file to the client.O.S is unix.if i run the server in another directory or anothers login i am unable to get the connections properly (like transfering of files).
: consider if i want to transfer an file from the any domain, consider ftp.com then how will i get to know the ip address and the port no.
: Please do explain about it.
:
:
:
:


There is something called resolv.conf and named etc which resolves the ip address. There is also something called hosts.conf. There are some config file which decides your ip address, don't remember(not sure) one exactly and not on linux right now to tell.

Reagrding the port NO. - FTP, telnet etc are on standard ports - check up in /etc/services file.

Don't change them - These ports are standard for all OS's.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.