Re: Root Folder problems cont.

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20941
interpreted = N
texte = >Any tags using the root as the beginning of the file path >(i.e. file=/includes/header.inc or db=/databases/software,inc) will >return an unable to find file/database error. My installation is very >standard--the WebCatalog folder in the WebSTAR folder--and the root >folder preference is set to ../ > Can anyone clue me in to what other factors might affect WebCat's >understanding of the directory?Virtual domains, for one.Try using relative URLs instead of URLs that begin at the root, that's what the docs recommend -- and for good reason. But I guess you've discovered that already ... :)>I use [includes] to build headers, footers, and menus >on every page of my site, and changing them all to relative paths would >be an unnecessary pain.Why don't you keep those include files in the same folder as your templates? By the way, changing to relative paths will not be a pain if you use BBEdit to change them all at once. Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Root Folder problems cont. (PCS Technical Support 1998)
  2. Re: Root Folder problems cont. (Kenneth Grome 1998)
  3. Re: Root Folder problems cont. (Brian Drum 1998)
  4. Re: Root Folder problems cont. (PCS Technical Support 1998)
  5. Re: Root Folder problems cont. (Brian Drum 1998)
  6. Re: Root Folder problems cont. (PCS Technical Support 1998)
  7. Re: Root Folder problems cont. (Kenneth Grome 1998)
  8. Root Folder problems cont. (Brian Drum 1998)
>Any tags using the root as the beginning of the file path >(i.e. file=/includes/header.inc or db=/databases/software,inc) will >return an unable to find file/database error. My installation is very >standard--the WebCatalog folder in the WebSTAR folder--and the root >folder preference is set to ../ > Can anyone clue me in to what other factors might affect WebCat's >understanding of the directory?Virtual domains, for one.Try using relative URLs instead of URLs that begin at the root, that's what the docs recommend -- and for good reason. But I guess you've discovered that already ... :)>I use [includes] to build headers, footers, and menus >on every page of my site, and changing them all to relative paths would >be an unnecessary pain.Why don't you keep those include files in the same folder as your templates? By the way, changing to relative paths will not be a pain if you use BBEdit to change them all at once. Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

Sending Email (2004) CommitDatabase vs. CloseDatabase (2001) Re:quit command on NT (1997) Secure server question (1997) 2.0Beta Command Ref (can't find this instruction) (1997) another problem (1997) HELP WITH DATES (1997) RE: Can WebCatalog.debug solve my problem? (2000) Major bug report on rootbeer (1997) Bug? (1997) possible to oscillate between a [redirect] and [authenticate] every other login attempt? (2000) Converting Aliases to Symbolic Links (2002) File Uploads (1998) RE: Remote delivery (1998) WebCatalog for guestbook ? (1997) all records returned. (1997) Replacefounditems (2003) MasterCounter - Does this work?? (1999) NT Version on IIS 4.0 (1997) converting characters in form (1997)