Re: Images in Globals?

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52429
interpreted = N
texte = Tim Robinson wrote: > I'm pretty certain that you can't call an image from the Globals (serving on > Win2K). Is this correct? The Globals directory '^' is only available internally to WebCatalog, but the image files must be available from the web server directly. What I have done is created an aliased hostname for all of our cover art (we sell mostly books), called covers.insertdomainnamehere.com. All of the covers.* hostnames are pointed at the same IP address and the web server has a regex match so that it will know to respond to any of those requests by serving up files from a single set of directories (I'm running Apache for that). It works really well, and I have even set up a hashed access method, so that file 123456789X.jpg is stored as 12/345/123456789X.jpg (minimize the number of files in any single directory). If you are interested, I can post the WebDNA code as well as the Perl script to move the files into the correct place. 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: Images in Globals? ( John Peacock 2003)
  2. Re: Images in Globals? ( Brian Fries 2003)
  3. Images in Globals? ( Tim Robinson 2003)
Tim Robinson wrote: > I'm pretty certain that you can't call an image from the Globals (serving on > Win2K). Is this correct? The Globals directory '^' is only available internally to WebCatalog, but the image files must be available from the web server directly. What I have done is created an aliased hostname for all of our cover art (we sell mostly books), called covers.insertdomainnamehere.com. All of the covers.* hostnames are pointed at the same IP address and the web server has a regex match so that it will know to respond to any of those requests by serving up files from a single set of directories (I'm running Apache for that). It works really well, and I have even set up a hashed access method, so that file 123456789X.jpg is stored as 12/345/123456789X.jpg (minimize the number of files in any single directory). If you are interested, I can post the WebDNA code as well as the Perl script to move the files into the correct place. 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:

TCPconnect using SSL. If not WebCat, How? (1999) weird [hideif] happenings maybe . . . (2003) Ooops-Serial Number for NT (1997) What am I missing (1997) MATH (1998) suffix mapping, use of cache, etc. (1997) [OT] - Block Traffic to DevBox (2003) Country & Ship-to address & other fields ? (1997) Help name our technology! (1997) Calendar (1997) RE: [WebDNA] CRITICAL ISSUE: PrivateTmp and "Sorry WebDNA server not (2019) Virtual Domains (1998) shipcost (1997) wild question (1998) [WriteFile] problems (1997) Webcat interfering with Webstar? (1998) Multiple prices (1997) Searching in multiple databases from a form (1999) Webcatalog and IIS4b2 (1997) Pass a form (2003)