Re: [showif],[refferer],[include] in errormessages.db

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44692
interpreted = N
texte = On 11/1/02 2:27 PM, Alain Russell wrote:> We do this in our errormessages.db. > > [showif [fileinfo file=/error.html][exists][/fileinfo]=T][redirect > /error.html][/showif] > > So this in the 'template not found' error and you can create individual > error files for each site and they will only be used if the exist. We;ve > been doing this for about a year now with perfect results .. > > Alain > > PS (Add this to the front of the current error) > We did that too and still do something similar on some sites, but I have to tell you it got damn annoying making sure that there was an error.html page in every subdirectory, and sub sub directory.Of course we don't multihome which is why I don't believe this didn't work for us. I think that if you were multihoming this would work just fine... So between the thisurl route for non multimhoming and the file-exists route for multihoming you would be covered. Now I know I may have issues with [template] in the future ;-)AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [showif],[refferer],[include] in errormessages.db (Joe D'Andrea 2002)
  2. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  3. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  4. Re: [showif],[refferer],[include] in errormessages.db (Christer Olsson 2002)
  5. Re: [showif],[refferer],[include] in errormessages.db (Alain Russell 2002)
  6. Re: [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
  7. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  8. Re: [showif],[refferer],[include] in errormessages.db (Alain Russell 2002)
  9. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  10. Re: [showif],[refferer],[include] in errormessages.db (John Peacock 2002)
  11. Re: [showif],[refferer],[include] in errormessages.db (Clint Davis 2002)
  12. Re: [showif],[refferer],[include] in errormessages.db (Larry Goodhew 2002)
  13. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  14. Re: [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
  15. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  16. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  17. Re: [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
  18. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  19. Re: [showif],[refferer],[include] in errormessages.db (Gary Krockover 2002)
  20. [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
On 11/1/02 2:27 PM, Alain Russell wrote:> We do this in our errormessages.db. > > [showif [fileinfo file=/error.html][exists][/fileinfo]=T][redirect > /error.html][/showif] > > So this in the 'template not found' error and you can create individual > error files for each site and they will only be used if the exist. We;ve > been doing this for about a year now with perfect results .. > > Alain > > PS (Add this to the front of the current error) > We did that too and still do something similar on some sites, but I have to tell you it got damn annoying making sure that there was an error.html page in every subdirectory, and sub sub directory.Of course we don't multihome which is why I don't believe this didn't work for us. I think that if you were multihoming this would work just fine... So between the thisurl route for non multimhoming and the file-exists route for multihoming you would be covered. Now I know I may have issues with [template] in the future ;-)AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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://search.smithmicro.com/ Alex McCombie

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:

Mozilla/4. and Browser Info.txt (1997) WebCatalog memory error. (1998) Invisible chars (gremlins) ok in db? (2000) Removing user entered whitespace... (2004) Some Advise needed (1997) Frames and WebCat (1997) Error: Can't open order file. Ignoring [OrderFile] context (2000) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) [WebDNA] multi [sendmail] inside [search] (2012) Filemaker Pro Template for Orders (1999) Date problems (1997) OT: Flash developer needed (2007) Associative lookup style? + bit more (1997) Help! WebCat2 bug (1997) Web DNA... (2007) Bug Report, maybe (1997) Word wrapping (1997) 2.01 upgrade problems (1997) WebCatalog/Mac 2.1b2 New Features (1997) Configuration Q (1998)