RE: getting the hostname from a TransHandler

2000-05-17 Thread Doug MacEachern
On Wed, 17 May 2000, Geoffrey Young wrote: > after reading about it again, it looks like something of a misnomer - like > it does less parsing of the header and more making it available for > manipulation. but I was able to change $r->uri during PostReadRequest > anyway. it does make sense tha

RE: getting the hostname from a TransHandler

2000-05-17 Thread Geoffrey Young
> -Original Message- > From: Roger Espel Llima [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 17, 2000 3:22 PM > To: Geoffrey Young > Cc: [EMAIL PROTECTED] > Subject: Re: getting the hostname from a TransHandler > > > On Wed, May 17, 2000 at 03:15:01PM

RE: getting the hostname from a TransHandler

2000-05-17 Thread Karyn Ulriksen
ia 92618 USA Phone: (949) 743-2000 email: [EMAIL PROTECTED] URL: http://www.publichost.com -Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 17, 2000 12:15 PM To: 'Roger Espel Llima'; [EMAIL PROTECTED] Subject: RE: getting the hostn

Re: getting the hostname from a TransHandler

2000-05-17 Thread Roger Espel Llima
On Wed, May 17, 2000 at 03:15:01PM -0400, Geoffrey Young wrote: > I don't think so - request-header parsing happens prior to the > PostReadRequest phase. > all headers_in are available to you by uri translation. hmm.. the eagle book seems to say the opposite. anyway, it works :) -- Roger Esp

RE: getting the hostname from a TransHandler

2000-05-17 Thread Geoffrey Young
> -Original Message- > From: Roger Espel Llima [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 17, 2000 2:52 PM > To: [EMAIL PROTECTED] > Subject: getting the hostname from a TransHandler > > > Hi, > > I need to get the "Host:" header s

getting the hostname from a TransHandler

2000-05-17 Thread Roger Espel Llima
Hi, I need to get the "Host:" header sent by the client, from a TransHandler. Should I be using $r->header_in("Host"), or should I turn UseCanonicalName off and then use $r->get_server_name? I'd rather do the first, and it works when I try it, but I'm also thinking that PerlTransHandlers run