CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
LDAP vs HTTP

 



svbhat
stranger

Oct 30, 2001, 10:47 AM

Post #1 of 2 (696 views)
LDAP vs HTTP Can't Post

Anybody can tell me whats the main difference between HTTP and LDAP except LDAP does the directory service requests?



yapp
User

Nov 2, 2001, 2:19 AM

Post #2 of 2 (689 views)
Re: LDAP vs HTTP [In reply to] Can't Post

LDAP ????

HTTP is a 'Hypertext transfer protocol'
Usually this is the text send to a webserver when a connection is made at port 80:


Code
GET http://www.server.com/path/file.html HTTP/1.1 
User-agent: My HTTP Browser test
Accept: */*
Accep-range: bytes
Accept-language: EN
(one line blank)

More details I don't remember. The first GET line followed by two returns would be fine in most cases.
The the server replies with:

Code
200 HTTP OK 
Content-type: text/html
Content-length: 4231
Date: (THE LOCAL DATE)
Last-modified: (LAST MODIED DATE)

<HTML>
.... and more of the contents

You can try typing these lines at a shell/prompt/console

Code
telnet www.hotmail.com 80 
GET / HTTP/1.0

Hit enter twice after the GET line
Don't make typoos. A backspace or delete key will also be send to the webserver.

Hope It helps and clears things up about HTTP.


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives