On Tue, 23 May 2000, Jim Serio wrote:

> Like I said, the cookie is being set, but I can't read the cookie.
> Apache::Cookie->fetch('cookie_name'); doesn't work.
> 
> >this is a fixup handler?  you shouldn't be sending the complete http
> >header there.  you should use $r->headers_out like you did in your
> >original example.  and, use telnet to see what your module is actually
> >sending, or a log handler that dumps $r->as_string, or Apache::DumpHeaders
> >(on cpan).
> 
> 
> This brings up a not-so-mod_perl question. Is there a way to telnet
> to name-based virtual hosts? Can I spoof the GET request?

telnet www.thesite.com 80
Trying xxx.xxx.xxx.xxx...
Connected to www.thesite.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.virtualhost.com

HTTP/1.1 200 OK
Server: blah blah blah blah 
...

Cheers,
Jeffrey

Reply via email to