Ok, I'm not fluent in Apache...
I have a .htaccess file setup like so:
<Files *>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>
RemoveHandler .php .php3 .phtml .cgi .fcgi .pl .fpl .shtml
The Problem is I am needing to use .pdf files to link to a URL like so within this directory:
<iframe name="FRAME2" src="http://docs.google.com/viewer?url=URLTOFILE.pdf&reqTime=1271316295&embedded=true" width="500" height="280" frameborder="1"></iframe>
So the PDF file never gets displayed/embedded as it should within the page. If I remove all lines from the .htaccess file it WORKS PERFECTLY. However, I'm guessing that that is in there for security reasons. So, is there anyway to bypass PDF files only, so that they are allowed from ALL or a way to allow it only for the google URL in here?
Please help...arggg
And before anyone asks, "URLTOFILE.pdf" is actually pointing to a VALID PDF file on my server within the same folder that the .htaccess file is located in.
Thanks :)