Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

list the file in directory

Posted on 2006-07-24
4
215 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

861 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