Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem have Apache display the "directory listing"



Good morning,

    I wish to create a web site I can copy software from. Later wish to restrict access to an htpasswd file.

 

    Having trouble configuring apache to display directory listing from the web site.

 

The directory's path in shared 755 - an index.html file works file. 

 

I 've tried many options with no success. Open to new ideas please.


Thanks,

Stephen

 




HTTP/1.1 200 OK
Date: Sun, 27 Mar 2011 14:25:56 GMT
Server: Apache/2.2.3 (Red Hat)
Last-Modified: Thu, 03 Mar 2011


#DocumentRoot "/var/www/html"#
DocumentRoot "/data/biomicro/web"


#<Directory "/var/www/html">#

<Directory "/data/biomicro/web">


#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
    Options Indexes FollowSymLinks

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents.  The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var


Options +Indexes 

This should enable auto-index. 



Stephen Goldman 
System Administrator
Department of Biology
Massachusetts Institute of Technology
31 Ames Street, 68-316e
Cambridge, Ma. 02139
617-452-2595





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org