1
Hi All,
We have a strange scenario that is presenting itself and we're not sure how to handle it.
We have some legacy documents (MS Word, PDF, PPT & HTML) that need to be presented through a secured web site. The security will not be a problem, we have an Microsoft Active Directory tree and we have built the authentication scheme around the AD groups.
We have placed the folders of documents outside of our web root, we don't want them accessible to the world. We can scan the folder and display a link to download the file no problem. The link points to a PHP script that reads the file, modifies the HTTP header and ships the document off to the web browser. All of that works beautifully, except for the HTML files!
We want any HTML file to display in the web browser as clicking on any "web page" would work. Instead the browser prompts the user to download the file as if it were an unknown file type. I've check the mime/types and everything looks correct.
Can someone point me to anything that might help get this scenario working for us?
THANKS!!
Chad