Hi Mehboob, The images are adverts scattered all over the disk based on a status of the ad. I call a 4D method which returns me the exact location of the file ie. --> \\qwsrv3\adserver\proofed\imagename.gif
I then copy this file into the served folder of A4D. Works fine. Instead of passing a relative path to the file just copied I thought I would serve the original file instead using "redirect". Normally active 4D is running on the same server as the image server. In this current case it isn't. Using the above example path, could I use /qwsrv3/adserver/ as the "safe doc dir"? I can change my setup so that the images reside on the same server as the one active 4D is running on. Regards, -- Paul Medland QuickTrac Developer Hamilton, Ontario, CA Web: www.quicktrac.com > From: Mehboob Alam <[EMAIL PROTECTED]> > Reply-To: Active4D Developer Discussion List <[email protected]> > Date: Thu, 31 Aug 2006 13:48:20 -0400 > To: [EMAIL PROTECTED] > Subject: Re: [Active4d-dev] Browsing images across volumes > > Paul, > > Have you tried putting in the complete image path of > the server itself? the image server should have it's > own webserver active for serving statis files. Is this > what you're trying to do? > > > --- Paul Medland <[EMAIL PROTECTED]> wrote: > >> Hello all, >> >> I have an internal web server that serves images >> nicely from our server by >> copying first into the "web" folder and then being >> "served". I would like >> to serve them directly if possible in order to save >> the copy step. >> >> I have set safe doc dirs = /qwsrv3/images/ >> >> This is not the server that active4D is running on. >> qwsrv3 is a server name >> while images is a volume share on that server. >> >> When I attempt to browse anything outside of the >> web directory I get a 404 >> error. I have tried to serve a single file from the >> local hard drive and >> get 404. Sould I not be getting 403 errors? I have >> a check to see if the >> file actually exists by passing the actual path and >> the files do exist. >> >> Can I skip the copy step and serve images directly? >> >> Regards, >> >> -- >> >> Paul Medland >> Hamilton, Ontario, CA >> >> >> _______________________________________________ >> Active4D-dev mailing list >> [email protected] >> > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev >> Archives: >> > http://mailman.aparajitaworld.com/archive/active4d-dev/ >> > > > sincerely, > mehboob alam > > > > "There cannot be a crisis next week. My schedule is already full." > Henry Kissinger > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev > Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ > _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
