Re: Problem with PDF files

2005-05-23 Thread Joshua Chamas
Jonathan Dixon wrote: I am running a website where I want to control access to the various files. I have the directory setup in httpd.conf with: ... This works well for the .doc, .css, .html, and .asp files, but the pdf files always crash with an error along the lines of: [error] error comp

Re: Problem with PDF files

2005-04-26 Thread Marko Friedemann
Jonathan Dixon wrote: This declares *.pdf files as being ASP files. Apache::ASP is trying to interpret them directly! What you want to do cannot be accomplished with this mechanism. Try looking at the various Apache modules. I understand that this forces the PDF files to be handled through Apache:

Re: Problem with PDF files

2005-04-25 Thread Jonathan Dixon
> This declares *.pdf files as being ASP files. Apache::ASP is trying to > interpret them directly! > > What you want to do cannot be accomplished with this mechanism. Try looking > at the various Apache modules. I understand that this forces the PDF files to be handled through Apache::ASP.

Re: Problem with PDF files

2005-04-25 Thread Warren Young
Jonathan Dixon wrote: SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global /storage/t212 PerlSetVar StateDir /tmp/asp PerlSetVar RequestBinaryRead On This declares *.pdf files as being ASP files. Apache::ASP is trying to interpret them directly! What you want to

Problem with PDF files

2005-04-23 Thread Jonathan Dixon
I am running a website where I want to control access to the various files. I have the directory setup in httpd.conf with: SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global /storage/t212 PerlSetVar StateDir /tmp/asp PerlSetVar RequestBinaryRead On SetHandl