-
1. Re: Help! Trying to edit .htaccess to allow PDF?
Nancy O. Apr 21, 2014 12:15 PM (in response to pbsum83)I don't understand why you need to edit your .htaccess file to support PDF. It's a common media file that any reputable server host should support. It's not some exotic file type. The manner in which PDFs are handled is entirely up to the end user's computer & browser settings. If you're getting a 404 error, it's more likely a path or naming problem.
Nancy O.
-
2. Re: Help! Trying to edit .htaccess to allow PDF?
pbsum83 Apr 21, 2014 12:22 PM (in response to Nancy O.)I'm not trying to edit the .htaccess to 'support' PDFs. I just don't want it to block access to PDF files contained within my site, which it is currently doing.
-
3. Re: Help! Trying to edit .htaccess to allow PDF?
hans-g. Apr 21, 2014 12:26 PM (in response to pbsum83)Hi,
if you really have to grant access only to some of your user to this website in question, so the easiest way in my opinion is to ask your provider for this possibility. Here I used this service: http://hansgd.de/DWTest/AccBlocked/AccBlocked.php.
In this case you don't need to struggle by writing the ".htaccess" and ".htpasswd" file of yourself. The advantage is, that the two files are created simultaneously and systemconform from there. (see screenshot > Passwortschutz = Password protection):
You will find this offer, I am sure, at your provider's website.
Hans-Günter




