Uzair
06-08-2009, 07:36 AM
Hi,
I have a website where I have many folder to keep my work. I have linked some URLs to that folder & that should be open only when somebody clicks on the URL.
The problem is....
When I directly put the folder name, it opens. I do not want it to be password protected. But I want people to access the files only by clicking the URL, not by entering the folder name in the URL bar.
For example...
I am sending people to this URL...
http://www.domainname.com/abcdefgh/xyz/
This opens the required page.
But if someone removes the xyz/ thing from the address bar & then presses ENTER, server shows a list of directy...
Index of /abcdefgh
- Parent directory
- zyx
etc. etc.
I do not want people to see this INDEX thing...
Please guide me how can do this?
I have a website where I have many folder to keep my work. I have linked some URLs to that folder & that should be open only when somebody clicks on the URL.
The problem is....
When I directly put the folder name, it opens. I do not want it to be password protected. But I want people to access the files only by clicking the URL, not by entering the folder name in the URL bar.
For example...
I am sending people to this URL...
http://www.domainname.com/abcdefgh/xyz/
This opens the required page.
But if someone removes the xyz/ thing from the address bar & then presses ENTER, server shows a list of directy...
Index of /abcdefgh
- Parent directory
- zyx
etc. etc.
I do not want people to see this INDEX thing...
Please guide me how can do this?