Tom's Hardware > Forum > Applications > Programming > htaccess directory listings help

htaccess directory listings help

Forum Applications : Programming - htaccess directory listings help

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

First off, I hope this is the rite place for this post. I didnt see anywhere that a question of this nature would really belong. anywho....

Im trying to set up directory listing for specific folders (and not open up my whole site) and I sadly have no idea how to do this. I was told I need to "tweak" my htaccess file, but when i google for answers it doesn't really help me much.

I want to have it look like this http://www.fusiondesignlabs.com/ and im guessing that it has to be done thru htaccess.

Here are the content of my current htaccess file. Im not sure if I need to create a new htaccess file and put it in that one folder, and what to even have in the htaccess file Or if im supposed to add a line or two to the original file.

Also, I was told since my site is hosted by godaddy i would have to tweak htaccess rather than config.

Quote :


# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.websitename.com
AuthUserFile /var/chroot/home/content/z/x/c/xxxx/html/_vti_pvt/service.pwd
AuthGroupFile /var/chroot/home/content/z/x/c/xxxx/html/_vti_pvt/service.grp



So if anyone call tell me what code I have to add and where, that would be perfect!

Thank you all in advanced. :hello:


Message edited by lumpking69 on 08-16-2007 at 11:29:42 PM
Sponsored Links
Register or log in to remove.

remove your index files, the directory listing should work.

remove:
index.html
index.htm
index.php
...

Reply to VeraVault
Tom's Hardware > Forum > Applications > Programming > htaccess directory listings help
Go to:

There are 1064 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them