It just takes a directive in the Apache config, and it can be a
naming that is hidden from the url so you are not exposing your
true dir structure. Then it's a matter of the URL pointing to
the .pdf instead of a .html and your browser will know what to do.
Have been serving .pdf (or .csv or .xls) this way to the web since
2000 in a similar tool - Websmart.
. . . Write a program to read the file from the
IFS and pipe it to the browser. You would need to change the
content type to "application/pdf".
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.