View Single Post

  #1 (permalink)  
Old 07-08-2003
Georgi Yanchev
 
Posts: n/a
Default Create "virtual" files

Hi everyone,

can someone help me with my problem. I'm trying to make apache read files
from a database instead of searching in the file system. The first thing I
tried was to add

Action myaction /cgi-bin/myscript.pl
AddHandler action .my

this work but only if the file requested exists, otherwise returns file not
found.
Then I tried to replace the standart response by

ErrorDocument 404 "/cgi-bin/myscript.pl"

this worked but server returns HTTP/1.1 404 file not found, and the contents
is not displayed in some browsers. Can anybody help me solve my problem.


Thanks in advance: Georgi Yanchev