httpd-users mailing list archives

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

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
permissions.

Any ideas?
-Adam

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

System Administrator, HPC Cluster
Office of Information Technology
http://hpc.oit.uci.edu/

University of California, Irvine
www.ics.uci.edu/~aebrenne/
aebrenne@uci.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message