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
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:
> 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.
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
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