Re: Carat character in path

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38358
interpreted = N
texte = Daryl Mitchell wrote: > > WC 4.01 on Debian Linux: > > The carat character (^) is supposed to begin a path relative to the > global root folder. It works for me when I do a simple include such as > this: > > [include file=^some_file.inc] > > But it fails when I try to do a database search or lookup: > > [search db=^some_database.db&...] > > [lookup db=^some_database.db&...] > > How come? > The database isn't where you think it is? The database is not owned by the WebCat user? The database does not have the correct rights?These are several reasons why you might have problems. Also remember that the directory where the db lives also has to have the correct rights to operate under *nix. Include files only need to be read, but databases typically require rw by appropriate owners. See the list archives for the messy details.We have begun moving all of our include files into Global/Includes and all the db's to Global/db, just to be consistent across sites. CAVEAT: I have not tested WebCat 4.01 under Linux, however it should work correctly (assuming you understand *nix security ;~)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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Carat character in path (John Peacock 2001)
  2. Carat character in path (Daryl Mitchell 2001)
Daryl Mitchell wrote: > > WC 4.01 on Debian Linux: > > The carat character (^) is supposed to begin a path relative to the > global root folder. It works for me when I do a simple include such as > this: > > [include file=^some_file.inc] > > But it fails when I try to do a database search or lookup: > > [search db=^some_database.db&...] > > [lookup db=^some_database.db&...] > > How come? > The database isn't where you think it is? The database is not owned by the WebCat user? The database does not have the correct rights?These are several reasons why you might have problems. Also remember that the directory where the db lives also has to have the correct rights to operate under *nix. Include files only need to be read, but databases typically require rw by appropriate owners. See the list archives for the messy details.We have begun moving all of our include files into Global/Includes and all the db's to Global/db, just to be consistent across sites. CAVEAT: I have not tested WebCat 4.01 under Linux, however it should work correctly (assuming you understand *nix security ;~)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://search.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:

WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Error Type 3 (1999) Running _every_ page through WebCat ? (1997) Virtual hosting and webcatNT (1997) RE: Can a database get stomped by simultaneous access? (1997) WC2.0 Memory Requirements (1997) WC TableGrinder (1997) update on wn searching (1997) Sku numbers (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) Date Range search (1997) Problem with version 4 browsers (1998) [WebDNA] Retrieving a PDF from an email (2008) Adding a product from another site (1997) Search design (1997) Re WebDNA has reached it connection limit (2004) possible, WebCat2.0 and checkboxes-restated (1997) America Online Issues (1998) FW: Virus Alert: FBI Finds 911 Virus Wiping Out Hard Drives Today (2000) Summing fields (1997)