What is the best way to serve script (*.js and *.css)
and image (*.png and *.svg) files which are stored in
a database?

I am successfully using ns_register_proc to catch and
dynamically serve html page requests.

I would also like to dynamically serve the script and
image files that are embedded in those same html files.

I've tried, for example:
        ns_register_proc GET /Images/*.png serve_image
and
        ns_register_proc GET /*.png serve_image
to catch requests for my .png files, but my procedure
serve_image does not get called.

What am I missing?

Thanks,

Greg Davidson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to