httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Brenner <>
Subject [users@httpd] DirectoryListing Hiding Folder that contains .htaccess with 'require valid-user'
Date Wed, 30 Apr 2014 18:34:30 GMT

I am running into an issue where the directory listing with:

  Options +Indexes +FollowSymLinks +MultiViews
  AllowOverride All

is hiding any folder that contains a .htaccess file with 'require
valid-user'. The specific .htaccess file we are using is:

  AuthUserFile /data/hpc/www/accounting/graphical/.htpasswd
  AuthName "HPC Graphical Accounting"
  AuthType Basic
  require valid-user

When the line 'require valid-user' is commented out, the directory is
shown in the parent's directory listing. When added, it is hidden.

How do I disable Apache to stop hiding the directory when 'require
valid-user' is added?

Apache's IndexIgnore is the default:
   IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

The folder name is graphical-accounting which does not match the regex
above. The directory and all files are correctly owned by the same
user apache is running as, and has the correct folder/file

Any ideas?

Adam Brenner
Computer Science, Undergraduate Student
Donald Bren School of Information and Computer Sciences

System Administrator, HPC Cluster
Office of Information Technology

University of California, Irvine

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message