Re: webdna page not found redirect

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69013
interpreted = N
texte = Scott wrote: > Do you happen to have a quick snippet that would give me the base URL > they typed? > So for example if they typed: > www.mysite.com/myfolder/mypage.tpl > > it would give me > www.mysite.com > > ? > > I was hoping there was a quick command, but it looks like I might have > to write code to take up to the .com...? sure.. It's a part of my standard function definitions that I put in my pre-parse scripts. [!] finds the domain name only of a caller - Access it with "[CALL_DOMAIN]"[/!] [function name=CALL_DOMAIN] [ListMIMEHeaders name=host&exact=F][url][value][/url][/ListMIMEHeaders] [/function] If you have an earlier version of WebDNA, just take out the [function..] part of it and set the [listmimeheaders..] inside a text variable. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:>(608) 835-2476 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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: webdna page not found redirect ( Donovan Brooke 2007)
  2. Re: webdna page not found redirect ( Bob Minor 2007)
  3. Re: webdna page not found redirect ( Bob Minor 2007)
  4. Re: webdna page not found redirect ( Scott 2007)
  5. Re: webdna page not found redirect ( Donovan Brooke 2007)
Scott wrote: > Do you happen to have a quick snippet that would give me the base URL > they typed? > So for example if they typed: > www.mysite.com/myfolder/mypage.tpl > > it would give me > www.mysite.com > > ? > > I was hoping there was a quick command, but it looks like I might have > to write code to take up to the .com...? sure.. It's a part of my standard function definitions that I put in my pre-parse scripts. [!] finds the domain name only of a caller - Access it with "[CALL_DOMAIN]"[/!] [function name=CALL_DOMAIN] [ListMIMEHeaders name=host&exact=F][url][value][/url][/ListMIMEHeaders] [/function] If you have an earlier version of WebDNA, just take out the [function..] part of it and set the [listmimeheaders..] inside a text variable. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:>(608) 835-2476 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

Practical Uses (2003) Database Program (1997) database problems (1999) my price won't move (1997) Smart caching problems with 2.1b3? (1997) WebCatalog/Mac 2.1b2 New Features (1997) IP Address Ranges in a Database. (2003) WARNING: deletedb anomaly (2002) SiteGuard Admin Feature ? (1997) Server Freeze (1998) select menus & database design (1998) [SHELL] SSH more problems (2003) PSC recommends what date format yr 2000??? (1997) Pithy questions on webcommerce & siteedit (1997) WebCat 5 on itools 7 Install Questions Problems Hey Nitai (2003) [format 40s]text[/format] doesn't work (1997) Exclamation point (1997) How to Display text in empty fields (1997) Processing all html files through WebCat or Typhoon (1998) Draft Manual, Tutorial, and more (1997)