You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Adam Brenner <ae...@uci.edu> on 2014/04/30 20:34:30 UTC
[users@httpd] DirectoryListing Hiding Folder that contains .htaccess with 'require valid-user'
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
Re: [users@httpd] DirectoryListing Hiding Folder that contains
.htaccess with 'require valid-user'
Posted by Adam Brenner <ae...@uci.edu>.
On Wed, Apr 30, 2014 at 11:50 AM, Eric Covener <co...@gmail.com> wrote:
>
> IndexOptions +showForbidden, or arrange or the same authentication to
> occur in the parent directory.
>
>
That did the trick. Thanks Eric!
--
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
Re: [users@httpd] DirectoryListing Hiding Folder that contains
.htaccess with 'require valid-user'
Posted by Eric Covener <co...@gmail.com>.
On Wed, Apr 30, 2014 at 2:34 PM, Adam Brenner <ae...@uci.edu> wrote:
> How do I disable Apache to stop hiding the directory when 'require
> valid-user' is added?
IndexOptions +showForbidden, or arrange or the same authentication to
occur in the parent directory.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org