external next up previous contents index
Next: [TECFAMOO] The World-Wide Web Up: INTRODUCTION TO MOO PROGRAMMING Previous: 12.4 [TECFAMOO] Multiownership and

[TECFAMOO] The World-Wide Web E_WEB Interface on port 7778

 

under construction, for the moment see:

Here is a trace for a ``normal'' request:

EWEB>>$ehttpd:do_login_command(): "******************** 6 read lines"
EWEB>>$ehttpd:parse_url(): "/4026/"
EWEB>>$ehttpd:parse_url(): "/4026/"
EWEB>>$ehttpd:handle_request(): {
 "GET /4026/ HTTP/1.0",
 "Referer: http://tecfa.unige.ch:7778/&eweb_room",
 "Connection: Keep-Alive",
 "User-Agent: Mozilla/3.01 (X11; I; SunOS 5.4 sun4m)",
 "Host: tecfa.unige.ch:7778",
 "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"}
EWEB>>$ehttpd:handle_request(): "GET"
EWEB>>$ehttpd:handle_request(): {"/4026", "/"}
EWEB>>$ehttpd:GET(): {#-1 <$nothing>, "http://tecfamoo.unige.ch:7778/4026/"}
EWEB>>$ehttpd:GET(): {#-22175 <invalid>, "URL=", {"/4026", "/"}}
EWEB>>$ehttpd:match_object(): {"object=", #4026 (e_thing Test) <#4026>}
EWEB>>$ehttpd:notify_connection(): {33, 917}
EWEB>>$ehttpd:notify_connection(): "terminated: 2092828703 booted: #-22175"

Here is a trace of what happens for a /cgi/ Url:

EWEB>>$ehttpd:do_login_command(): "******************** 8 read lines"
EWEB>>$ehttpd:parse_url(): "/cgi/&e_thing"
EWEB>>$ehttpd:handle_request(): {
 "POST /cgi/&e_thing HTTP/1.0",
 "Referer: http://tecfa.unige.ch/tecfa/tecfa-teaching/staf14/files/moo-form.html", 
"Connection: Keep-Alive",
 "User-Agent: Mozilla/3.01 (X11; I; SunOS 5.4 sun4m)",
 "Host: tecfa.unige.ch:7778",
 "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*",
 "Content-type: application/x-www-form-urlencoded",
 "Content-length: 179"}
EWEB>>$ehttpd:handle_request(): "POST"
EWEB>>$ehttpd:handle_request(): {"/cgi", "/&e_thing"}
EWEB>>$ehttpd:POST(): {"Input line=", "Edu-Comp=&name=&first_name=
&institution=&site-url=&personal-url=&e-mail=&activity=Education
&hours=under5&archive=CICA&Color=fluo
&Comments=%E9jhl%E9kjh%0D%0ASLKshS&Rating=Dix+MILLE"}
EWEB>>#4361:http_request(): {"/cgi", "/&e_thing", "....."}
EWEB>>#4361:http_request(): "method=html_cgi"
EWEB>>#4361:html_cgi(): {"args=", {"/cgi", "/&e_thing", "Edu-Comp=
&name=&first_name=&institution....
EWEB>>#4361:html_cgi(): {"Found object=", #4152 (Generic E_Webbed Thing) <#4152>}
EWEB>>$ehttpd:notify_connection(): {35, 1012}
EWEB>>$ehttpd:notify_connection(): "terminated: 37780356 booted: #-22172"



Daniel K. Schneider
Thu Apr 17 12:43:52 MET DST 1997