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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>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 Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://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:
[append] and SSL (1997)
Frames and WebCat (1997)
Forumulas.db & Variables (2002)
Enhancement Request for WebCatalog-NT (1996)
MySQL and Numbers (2005)
Help formatting search results w/ table (1997)
Time for a hard questions. (1997)
[WebDNA] WebDNA app (2013)
RE: TeaRoom (1997)
Encryption Question (2006)
Multiple prices (1997)
Need something like [listchars] ... (2000)
checkbox results written to a database (1999)
Suse linux 9.0 AMD64 (2004)
creating a ShipCosts database (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Help! WebCat2 bug (1997)
[OrderFile] error (help) (1999)
Problems passing [SKU] with $Replace in 2.0 (1997)
Large founditems loops (2000)