Re: 2003 include path issue

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60010
interpreted = N
texte = Alex McCombie wrote: > But file includes are not working from the root. "root" is not a concept that translates particularly well to the Win32 platform. For one thing, it depends strongly on which version of IIS you are running (or if you are using IIS at all). Some [older?] IIS versions treat the root as the path to the DLL that is being executed (i.e. not the virtual root at all, but rather where WebCatalogEngine is located). I strongly recommend using the Globals directory under the WebCatalogEngine to store common files (the usual reason why you would want an absolute path), using the '^' prefix, e.g. [Include file=^/includes/nav.inc] If you don't want to do that, there is the option in preferences "Absolute Path Prefix" which will let you use drive absolute paths. HTH 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: 2003 include path issue ( Stuart Tremain 2004)
  2. Re: 2003 include path issue ( "Scott Anderson" 2004)
  3. Re: 2003 include path issue ( "Sal D'Anna" 2004)
  4. Re: 2003 include path issue ( John Peacock 2004)
  5. 2003 include path issue ( Alex McCombie 2004)
Alex McCombie wrote: > But file includes are not working from the root. "root" is not a concept that translates particularly well to the Win32 platform. For one thing, it depends strongly on which version of IIS you are running (or if you are using IIS at all). Some [older?] IIS versions treat the root as the path to the DLL that is being executed (i.e. not the virtual root at all, but rather where WebCatalogEngine is located). I strongly recommend using the Globals directory under the WebCatalogEngine to store common files (the usual reason why you would want an absolute path), using the '^' prefix, e.g. [Include file=^/includes/nav.inc] If you don't want to do that, there is the option in preferences "Absolute Path Prefix" which will let you use drive absolute paths. HTH 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:

Ampersand (1997) Thanks for tips, more quest (1997) [WebDNA] rules for naming [math] and [text] vars (2008) WebCat2 - [format thousands] (1997) [OT] Quick Java Question (2007) [WebDNA] DNA suffix (2008) First postarg not taking in $Commands (1997) [OT] Mozilla | Was: R.I.P. Netscape (2003) Email notification to one of multiple vendors ? (1997) Bug or syntax error on my part? (1997) HELP WITH DATES (1997) [convertchars] Problem (2000) carriage returns in data (1997) [format 40s]text[/format] doesn't work (1997) [append] problem (1997) Help formatting search results w/ table (1997) Plugin or CGI or both (1997) WebCat2 Append problem (B14Macacgi) (1997) Converting characters to numbers ... (1997) case number with spaces. (2000)