Re: Serve pdf files.

2003-02-20 Thread Gerald Richter
> > Now I have the pdf file in $var. How do I display it with Embperl? > I really thinks it's easier (and faster) to make an Alias in your httpd.conf e.g. Alias /pdf /usr/local/pdf If you really want to do this with Embperl, you either need a directory (or a fileextention) that is served by Embp

Re: Serve pdf files.

2003-02-18 Thread Kaare Rasmussen
> Try writing more about what you are trying to do instead of how you > thought you would do it. :-) Of course. Thought I did that, though. I have a directory with pdf files, let's call it /usr/local/pdf. I want to be able to display these pdf files with Embperl. I don't want to alias the dire

Re: Serve pdf files.

2003-02-16 Thread Ask Bjoern Hansen
On Fri, 14 Feb 2003, Kaare Rasmussen wrote: > Solution 1. Open a window with JavaScript. Write to the window with one or > more window.document.write statements. > Backdraw: A lot of effort has to be put into escaping pdf characters that > could annoy JavaScript And it could never work; unless th

Re: Serve pdf files.

2003-02-14 Thread Gerald Richter
> Solution 3: EmbPerl will help me somehow > Sorry, but I am not quite understand what's your question? Is it the problem that it's inside an EmberlObject? Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Serve pdf files.

2003-02-14 Thread Kaare Rasmussen
I would like to serve some pdf documents with Embperl. I don't want Apache to do it if I can avoid it. I can't just put "$http_headers_out{'Content-Type'} = 'application/pdf';" at the top; this is in the middle of an EmbperlObject page that has more work to do. Solution 1. Open a window with