Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2009
    Posts
    221
    Thanks
    27
    Thanked 0 Times in 0 Posts

    how to list folders in my web address

    hello,
    to share some files with friends, i created a directory under my website and uploaded several folders under that directory. each folder contain the files i want to share.

    but when i type the path to the main directory, it says 403 forbidden. how can i automatically list folders under the main directory? and i want them to be clickable so that once they click on the folder name they should be able to see the files under the folder that they clicked.

  2. #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    15,017
    Thanks
    164
    Thanked 2,246 Times in 2,233 Posts
    but when i type the path to the main directory, it says 403 forbidden
    There might be a file named .htaccess (a hidden file), under your root or the specified directory, which may contains a line
    Code:
    Options -Indexes
    You may add an .htaccess file in to that directory with the following content
    Code:
    Options +Indexes
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •