WEB Help with web directory/files?

Discussion in 'OT Technology' started by SNDP, Jan 3, 2008.

  1. SNDP

    SNDP New Member

    Joined:
    Nov 26, 2007
    Messages:
    788
    Likes Received:
    0
    Location:
    Zion
    Hello.

    Im not sure how to do this, im hoping it's easy.

    When you view some web sites that don't have html files in them, just images for instance, some show a plain list of the images in text that you can click on to view the images. What file or attribute do I need to put in my website's folders to list the contents like that?

    N
     
  2. retorq

    retorq What up bitch??

    Joined:
    Dec 14, 2006
    Messages:
    6,061
    Likes Received:
    0
    Location:
    Mohave Desert
    They will be listed like that automatically if there is no index.htm of what ever the default html file is for your system. Just create a folder and put a bunch of files in there and see.
     
  3. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    you might need to loosen up permissions also.
     
  4. SNDP

    SNDP New Member

    Joined:
    Nov 26, 2007
    Messages:
    788
    Likes Received:
    0
    Location:
    Zion
    Nope, I already have several full of images, and they don't list them. Just says

    Forbidden

    You don't have permission to access /vw/ on this server.



    http://wjowsa.com/vw/tt11.jpg shows the image, but http://wjowsa.com/vw/ says access forbidden.. I just want list of the files not sure how to get there form here.
     
  5. CasualSex

    CasualSex Stan Smith

    Joined:
    Jul 3, 2005
    Messages:
    130
    Likes Received:
    0
    Location:
    KC
    Put the following in your .htaccess:
    Options +Indexes
     
  6. Jesse

    Jesse PSN: iamajesse; XBL: Inhale My Rod; G8 GT crew; Ne OT Supporter

    Joined:
    Jan 12, 2005
    Messages:
    25,649
    Likes Received:
    0
    Location:
    California :: (925)
    If you cannot edit your htaccess, get a php directory listing script.

    http://www.celerondude.com/php-indexer

    That one will do it. Just note - it uses pages unless you make it show more than 25 files per page.
     
  7. LOLZILLA

    LOLZILLA New Member

    Joined:
    Jul 11, 2004
    Messages:
    97,923
    Likes Received:
    0
    there's a super easy way to do this in cpanel.
     
  8. LOLZILLA

    LOLZILLA New Member

    Joined:
    Jul 11, 2004
    Messages:
    97,923
    Likes Received:
    0
    if you have cpanel. manage indexing. k thx.
     

Share This Page