Solved

list the file in directory

Posted on 2006-07-24
4
219 Views
Last Modified: 2010-03-04
How can I list a file on the directory  
0
Comment
Question by:teera
[X]
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
  • 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

615 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