in reply to Re: Re: Serving files without revealing their location
in thread Serving files without revealing their location
The solution to your problem (which, itself, is still unknown to us) is kind of odd. All resources on a web server are accessed with a URL. All you're doing is substituting one URL (that maps to a PDF filename of the document) with another (that maps to an ID representing the same PDF data). The fact that that seems kind of non-sensical makes me wonder if you're trying to solve a problem that you don't really have, or if the solution you think you want is going in completely the wrong direction. The solution you outline here is just adding another layer of complexity to the file delivery process, in the form of CGI, which will make things a bit less efficient. If you wanted to go this route, mapping an ID number to a database entry or physical document, I might consider using apache's mod_rewrite or write your own query handler to do the ID -> filename mapping. At least that way you won't be pumping all of this through a CGI script. This seems kind of odd.
So I'm curious: what are you trying to accomplish by doing this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Serving files without revealing their location
by cburns (Novice) on Jan 29, 2001 at 02:33 UTC | |
by Fastolfe (Vicar) on Jan 29, 2001 at 02:58 UTC | |
by salvadors (Pilgrim) on Jan 29, 2001 at 02:48 UTC |