Hi Walter,
Another new day, and another batch of queries, but at least mine has been
solved.
I did try various options of the .htaccess file code which you suggested,
but unfortunately, the result was that every folder into which I inserted it
then displayed on-line with a “Server Error 500” warning. So I called up my
Web Host, which incidentally is One & One, with whom my only problem is
their ostensible lack of Mac support, and the support technician, located in
the Phillipines, patiently listened to my problem, and although he couldn’t
explain why your suggested code didn’t work, he updated the .htaccess file
which I had created in the Site Folder containing the PDF files with
<Options +Indexes>, so now, Clicking on the PDF Link either displays the PDF
document, or Right Clicking downloads the PDF to the Desktop. This is
acceptable.
Whether it is possible to set up a code to solely download the PDF, without
the option of reading it in the Browser, I know not, and would be interested
to find out, but at present the above solution is satisfactory.
Many thanks as always for your suggestions yesterday evening.
Neil
On 15/4/08 23:11, “Walter Lee Davis” email@hidden wrote:
No. That .htaccess file is probably there to keep bad people out of
your logs folder.
Create a new .htaccess inside the Resources folder where your PDF
files live. The thing about these htaccess files is that their
changes are inherited. If you put one at the very top of your site
root, then all of the PDFs in your site will inherit this behavior.
If you put the file right in the same folder as the PDFs, then only
the PDFs in that folder will get the behavior. But if you were to put
a sub-folder inside that Resources folder that in turn contained more
PDFs, they would also get the download behavior. The modification
“flows downhill” if you get what I mean here.
Walter
On Apr 15, 2008, at 5:29 PM, Neil Carter wrote:
Their is also a “logs” Folder, in which I have in fact just
discovered an
“.htaccess” file. Presumably, thereby, this is the File which I should
modify, and which, if I understand Walter correctly, this would
mean that
every PDF on every WebSite which I host would automatically
download. Is
this a correct understanding?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options