|
General
|
Author |
Thread:
Virtual Directories, Virtual Files |
|
brent.hildebrand
|
Virtual Directories, Virtual Files
Posted:
Tuesday, May 04, 2004 1:20 PM (EST)
|
|
I think I understand virtual directories. I want to be able to request an arbitrary (virtual) file name. Example: /Images/aplglyph.gif. Now, the file aplglyph.gif does not exsist, I want to be able to generate it on the fly. I know I can create a request with the data in the header such as /Images?file=aplglyph.gif, but I would like to be able do it in the as requesting a file. Is there a way to change the 404 error to point to a function in a workspace to which can then either create the file, or return a 404 error. That is, let my APL function handle the error, which might return a valid document or file instead of 404?
|
|
|