Solved

list the file in directory

Posted on 2006-07-24
4
212 Views
Last Modified: 2010-03-04
How can I list a file on the directory  
0
Comment
Question by:teera
  • 2
  • 2
4 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 17166370
Don't pu index.* file there. If not enought, create
.htaccess
file add following content
Options +Indexes
if it still does not wok, You have to add this into httpd.conf in proper <Directory ??>
AllowOverride +Indexes
0
 

Author Comment

by:teera
ID: 17174644
Hi ravenpl

I am not understand what you mean please exolain more
0
 
LVL 43

Accepted Solution

by:
ravenpl earned 350 total points
ID: 17175764
in that directory
1. if You have file called index.html index.php or whatever matches index.* - remove
2. if no such file, and no listing, create file called .htaccess with following content
Options +Indexes
3. if still no luck - You have to edit httpd.conf apache configuration file and allow Indexing in that dir
 You can either find existing <Directory ???> entry which matched the dir, or create new with content
<Directory /path/to/desired/dir>
 AllowOverride +Indexes
</Director>
 then reload apache server.

If You merly user which want to see files on some public webpage - go ask the webmaster for the above.
0
 

Author Comment

by:teera
ID: 17180755
Thank you very much
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now