vhttpd

MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

vhttpd

Post by MiniMe »

I have a perl script that calls a vortex script on our texis server. We are using vhttpd on that box. All of a sudden instead of seeing just the content the perl script is also presenting back the headers. Is there a way to suppress vhttpd from sending the headers??? Here is what I am seeing



HTTP/1.0 200 Ok
Date: Wed, 30 Jan 2002 19:25:47 GMT
Server: Thunderstone-Texis-Vortex/3.01.994310597 (alpha-dec-osf4.0-64)
Connection: close
Content-Type: text/plain

2002538


here is what I want to see

2002538

this used to work until a couple of days ago. Any ideas.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

vhttpd

Post by mark »

HTTP transactions always return headers. Your perl script needs to skip over them to find the page content.
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

vhttpd

Post by MiniMe »

Thats really strange since it was working up until 2 days ago but Ok.. if you say so.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

vhttpd

Post by mark »

Something on the system obviously changed 2 days ago. You might want to find out what, before you get more suprises.
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

vhttpd

Post by MiniMe »

Deeper digger has revealed that it is just this one vortex script when called that creates these headers. Does that make any sense??

If I call it from lynx I get

HTTP/1.0 200 Ok Date: Thu, 31 Jan 2002 20:57:52 GMT Server: Thunderstone-Texis-Vortex/3.01.994310597 (alpha-dec-osf4.0-64)
Connection: close Content-Type: text/plain 2003533

but if I call another script from lynx I get the output I expect to get.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

vhttpd

Post by mark »

Try geturl on that url to see what the webserver's really sending back.
(geturl is in your morph3/bin directory).