masaus
03-16-2008, 11:57 PM
Please allow me to ask you a newbie's question.
I have an issue to protect a directory.
I made a directory which has a couple of pdf files, A.pdf, B.pdf and C.pdf. When I go to http://mydomain.com/directory, I don't want to see all the pdf files in the directory, like "Index of /directory".
But I would like to open A.pdf, B.pdf or C.pdf by clicking http://mydomain.com/A.pdf or B.pdf or C.pdf.
How do I do it? I don't want to use "password protect directories". I just want to do "access denied" when someone accesses the directory.
I barely remember, before Bluehost changed the cPanel, I could do that from the menu.:confused:
Thank you very much for your help.
I have an issue to protect a directory.
I made a directory which has a couple of pdf files, A.pdf, B.pdf and C.pdf. When I go to http://mydomain.com/directory, I don't want to see all the pdf files in the directory, like "Index of /directory".
But I would like to open A.pdf, B.pdf or C.pdf by clicking http://mydomain.com/A.pdf or B.pdf or C.pdf.
How do I do it? I don't want to use "password protect directories". I just want to do "access denied" when someone accesses the directory.
I barely remember, before Bluehost changed the cPanel, I could do that from the menu.:confused:
Thank you very much for your help.