Dmitry the Zuryanovich wrote:

> Well, as for my case I use
>
> headers numeric 200
>  
>
Hrmm.... that sounds like a recipe for trouble to me:-)

What are you trying to accomplish... I mean, why are you playing with
numeric headers on something that should be a 404?  Perhaps there is a
better way of doing things?

>, so maybe that's why I get an another result:
>
>bash-2.05$ telnet teleboom.ru 80
>Trying 217.16.26.184...
>Connected to teleboom.ru.
>Escape character is '^]'.
>GET /feed/NzA5NTEwMjU2MTA_/timofeevgennadii-hozyaikabara.mid HTTP/1.0
>  
>
>HTTP/1.1 200 OK
>Date: Wed, 18 May 2005 09:07:11 GMT
>Server: Apache/1.3.33 (Unix) Rivet mod_ssl/2.8.22 OpenSSL/0.9.7d
>Content-disposition: attachment; filename=timofeevgennadii-hozyaikabara.mid
>Connection: close
>Content-Type: audio/midi
>[midi file follows]
>
>and 
>
>bash-2.05$ telnet teleboom.ru 80
>Trying 217.16.26.184...
>Connected to teleboom.ru.
>Escape character is '^]'.
>HEAD /feed/NzA5NTEwMjU2MTA_/timofeevgennadii-hozyaikabara.mid HTTP/1.0
>
>HTTP/1.1 404 Not Found
>Date: Wed, 18 May 2005 09:07:47 GMT
>Server: Apache/1.3.33 (Unix) Rivet mod_ssl/2.8.22 OpenSSL/0.9.7d
>Connection: close
>Content-Type: text/html
>
>Note not only 404, but text/html also - HEAD request was not handled ;-(
>  
>
You could check and see if in the HEAD case, the Tcl code is even being
run.  One way to do this is something like:

<?
set fl [open /tmp/foobar w]
puts $fl [clock seconds]
close $fl
?>

-- 
David N. Welton
- http://www.dedasys.com/davidw/

Apache, Linux, Tcl Consulting
- http://www.dedasys.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to