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
    195
    Thanks
    26
    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
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,851
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    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
    •