> -----Original Message----- > From: Josiane BERNILLON [mailto:Josiane.Bernillon@xxxxxxxxxx] > Sent: Monday, October 02, 2006 12:52 PM > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] Apache2 and directory listing > > > > Boyle Owen a écrit : > >> -----Original Message----- > >> From: Josiane BERNILLON [mailto:Josiane.Bernillon@xxxxxxxxxx] > >> Sent: Monday, October 02, 2006 11:57 AM > >> To: users@xxxxxxxxxxxxxxxx > >> Subject: [users@httpd] Apache2 and directory listing > >> > >> Hello > >> I run Apache (2.0.54) under Debian (Sarge) with PHP and > >> Postgresql since > >> some months. > >> I just discover that directories listing dont'work. (I > did'nt need it > >> until today). > >> > >> I put option Indexes at the root of the server : it seems to > >> be activate --> > >> http: //myserver/..../exampledir/ > >> returns a page with concatened HEADER and README files. > >> > >> But, whatever the files I put in "exampledir", the listing > is empty. > >> The problems is the same for every directory (icons for > example, for > >> which I never edit the standard conf!!!). > >> > > > > What are the permissions on the files and can they be > accessed by the > > web-server (ie, downloaded)? > > > > The fact that we get an idex page is proof that directory > indexing *is* > > working, however, apache now maskes files that do not have > read/download > > access from the webserver... > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > >> Just have a look : > >> the listing of /icons/ on www.apache.org > >> <http://www.apache.org/icons/> > >> the listing of /icons/ <http://www.apache.org/icons/> on my server > >> <http://atlas.ens-lsh.fr/icons/> > >> the listingof ../docs/ <http://atlas.ens-lsh.fr/docs/>on my server > >> <http://atlas.ens-lsh.fr/icons/> > >> > >> > >> Anyone have an idea ??? Thanks > >> > >> > --------------------------------------------------------------------- > >> The official User-To-User support forum of the Apache HTTP > >> Server Project. > >> See <URL:http://httpd.apache.org/userslist.html> for more info. > >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > >> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > >> > > In the global part of apache2.conf > (not inside <Directory ..> or <Location ..> > > ... > IndexOptions FancyIndexing VersionSort SuppressHTMLPreamble > AddIcons ... > ReadmeName README.html > HeaderName HEADER.html > IndexIgnore .??* *~ *# HEADER* README* RCS CVS * *.tmp *.TMP I think this might be it ------------------------^ Ie, you are ignoring "*" - everything.... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > *.bak *.BAK > .... > Alias /icons/ "/usr/share/apache2/icons/" > <Directory "/usr/share/apache2/icons"> > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > </Directory> > > On the server root: > <Directory /var/www/> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > </Directory> > > Nothing for /var/www/docs/ > > And inside /var/www > > atlas:/var/www# ls -l > total 60 > drwxr-xr-x 2 root root 4096 2006-09-27 11:55 apache2-default > ... > drwxr-xr-x 2 jb staff 130 2006-09-29 19:02 docs > ... > -rw-r--r-- 1 jb staff 4031 2006-06-28 09:52 index.html > ... > > atlas:/var/www# ls -l docs > total 408 > -rw-r--r-- 1 jb staff 180313 2006-09-27 08:23 accueilJgalith.jpg > -rw-r--r-- 1 jb staff 100352 2006-09-29 11:42 > ct_traitement_images.doc > -rw-r--r-- 1 jb staff 120834 2006-09-29 11:14 > ct_traitement_images.html > -rw-r--r-- 1 jb staff 3357 2006-09-29 13:49 HEADER.html > -rw-r--r-- 1 jb staff 26 2006-09-29 13:49 README.html > > Rgds > Josiane Bernillon > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx