Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Directory Listing Configuration

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache 2.0.48 and mod_rewrite issues!  
Author Message
tonic889

External


Since: Mar 15, 2004
Posts: 1



(Msg. 1) Posted: Mon Mar 15, 2004 4:43 am
Post subject: Directory Listing Configuration
Archived from groups: alt>apache>configuration (more info?)

I'm trying to get Apache (1.3.27) to list contents of a particular
directory for me. It's proving to be difficult for me. Here's what's
happening:

Until now, I have not loaded the mod_autoindex module in Apache. If this
module is disabled, I can't get Directory Listings to work at all --
even if I have "Options Indexes" set in my configuration. I guess my
first question is whether or not that is expected? The documentation I'm
reading seems to suggest that all I need is "Options Indexes".

Anyway, when I did enable it, it worked too well -- it enabled directory
listings for every directory on my whole site (including /). I only
wanted directory listings for /foo/bar. So I removed "Options Indexes"
from the root directory and gave it only to the /foo/bar directory. This
worked OK for /foo/bar (I got a listing there, as I wanted), but when I
tried to access "/", I got an error message saying I didn't have
permission to access / on this server. I checked in the error logs and
it says "Directory index forbidden by rule". I don't understand this.

It's disabled by rule because I want it to go and look for any one of
the files I have set up in my DirectoryIndex directive (index.html,
index.shtml, index.php, etc...) -- which are present. I know this
because if I disable mod_autoindex, the pages listed in DirectoryIndex
load automatically. But then of course I don't get the directory listing
for /foo/bar. So I'm stuck between all or nothing. Any idea what I'm
doing wrong?

Thanks,
Brian

 >> Stay informed about: Directory Listing Configuration 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
directory listing cut off? - A few weeks ago, Apache 2.0.43 on XP started returning a truncated HTML page for the directory index that it generates for the photo directories on my web server. The HTML just cuts off around 7 or 8K into the listing. I upgraded to 2.0.48 and it still..

No Directory Listing - Hi all, I am going round in circles with this, I want to stop directory listing when no index file is in a specific directory I cannot find where in the conf file I need to set this up and what entry I need to put in.... help *very* much appreciated ....

directory listing information - Hi When Apache returns the directory listing, we've got columns Name, Last Modified, Size and Description. How can I change their width or their name for that matter? How can I in any way modify the apperance of directory listing? Thanks for answering ...

forcing directory listing - hi is there a way - as a user that browses - to force apache to return the directory listing instead of the index.xxxx even if there is a index-page in the direcotry in question? can this be made through a change in setup (i have access to the ..

Restricting directory listing - Hello Group, I have a problem that I do not know how to solve. Our Tomcat server creates PDF files in a given directory that are then displayed by the web browser. The file names are generated by the servlet, and have the following pattern: ..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]