Re: Getting the domain of every request ...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 46813
interpreted = N
texte = Kenneth Grome wrote: > Thanks John, in my tests they all set at least one mime header with the > string HOST in it. Maybe I can show only the mime headers with a name > that contains HOST (I assume that there's usually only one with HOST > in it, but who knows?) then I can grep the value of those mime headers > in order to extract only the domain name. Can you think of any problems > with this approach? > No, there will be only a single HOST record (by some name); as I said, this is what we do for our multiheaded site (4 sites with one codebase).John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Getting the domain of every request ... (Kenneth Grome 2003)
  2. Re: Getting the domain of every request ... (John Peacock 2003)
  3. Re: Getting the domain of every request ... (Kenneth Grome 2003)
  4. Re: Getting the domain of every request ... (John Peacock 2003)
  5. Getting the domain of every request ... (Kenneth Grome 2003)
Kenneth Grome wrote: > Thanks John, in my tests they all set at least one mime header with the > string HOST in it. Maybe I can show only the mime headers with a name > that contains HOST (I assume that there's usually only one with HOST > in it, but who knows?) then I can grep the value of those mime headers > in order to extract only the domain name. Can you think of any problems > with this approach? > No, there will be only a single HOST record (by some name); as I said, this is what we do for our multiheaded site (4 sites with one codebase).John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Emailer help....! (1997) FORMS: Returning a specific page (1997) process SSI (1998) Webmerchant (1999) [date format] w/in sendmail (1997) Bookmarked URL with cart (1998) [WriteFile] problems (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Robert Minor duplicate mail (1997) [format 40s]text[/format] doesn't work (1997) Whats going on? (2000) WebCatalog Plugin: Getting Data Canceled (2000) I give up!! (1997) Emailer help....! (1997) E-mail formating question (1999) Ampersand (1997) Showif for mulitple variations (1997) Max Record length restated as maybe bug (1997) PCS Frames (1997) [NT] ie 4.0 required (1997)