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.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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:
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.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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:
Sort Order on a page search (1997)
Up and running ... at last !! (1997)
errormessages.db (1997)
WebCatalog for Postcards ? (1997)
Where's Cart Created ? (1997)
[url] link (1998)
Great product and great job ! (1997)
[sendmail] v. [writefile] (2000)
Intermitent problem using [referrer] (1997)
webmerch and serials - almost there (1997)
[OT] MacOs IE5 topmargin and leftmargin bug (2000)
[Sum] function? (1997)
Re2: frames & carts (1997)
Founditems Add/remove graphic display problem (1999)
Sub Categories (2000)
Country & Ship-to address & other fields ? (1997)
[WebDNA] configuring 5.1 with apache 2? (take 2) (2008)
no template caching (1997)
Multiple cart additions (1997)
What am I missing (1997)