RE: [ACFUG Discuss] RE: [sdcfug-d] difference between CGI._http_host and CGI.server_name

2006-09-17 Thread Charlie Arehart
Yep, that was it (the browser was stripping it). Thanks for the tip(s). /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe Sent: Sunday, September 17, 2006 10:27 PM To: discussion@acfug.org Subject: Re: [A

Re: [ACFUG Discuss] RE: [sdcfug-d] difference between CGI._http_host and CGI.server_name

2006-09-17 Thread Dean H. Saxe
Charlie, That may be your browser removing the default port. Try telnet to localhost port 80. Then try: GET /index.cfm HTTP/1.1 Host: 127.0.0.1:80 Alternatively, use Paros (www.parosproxy.org) and check the host value being sent by the browser. FWIW, the host header is not required an

RE: [ACFUG Discuss] RE: [sdcfug-d] difference between CGI._http_host and CGI.server_name

2006-09-17 Thread Dan
Thanks again Charlie.  I took your thoughtful advice and forwarded on my (last) reply to you to the SDCFUG group—as I will this one.  Keep up the good work.   Dan   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart Sent: Sunday, S

RE: [ACFUG Discuss] RE: [sdcfug-d] difference between CGI._http_host and CGI.server_name

2006-09-17 Thread Charlie Arehart
Well your finding would be more consistent with what the http specs (which as I noted said it should include the port). And you're using the built-in web server in CFMX (port 8500), so again this shows how things can differ among web servers. That said, I happened to notice in my testing agai

RE: [ACFUG Discuss] RE: [sdcfug-d] difference between CGI._http_host and CGI.server_name

2006-09-17 Thread Dan
Thanks Charlie for your well-researched reply. (BTW I’m replying to you ONLY via ACFUG as that is where I know you from. How are you doing? Well I’m sure.  I’m in LA now, and CF-wise it’s lonely out here. There is NO LACFUG (that I have found at least, PLEASE correct me if I am wrong.)  

[ACFUG Discuss] difference between CGI._http_host and CGI.server_name

2006-09-17 Thread Dan
Could anyone explain the difference between CGI.http_host and CGI.server_name?   They appear to return the same value.  I’d like to better understand how each one works, the pros and cons of using http_host or server_name.   I am currently using cgi.http_host to pull the domain name fro