I'm running Apache2.2 on Ubuntu 10.04LTS. I can't seem to figure out how to have my password-protected directories show up in a directory listing. I am trying to create an environment where users can see all available directories, but have some of the directories password protected. When I add the AuthType, AuthName, AuthUserFile and Require options to either my virtual host or in a .htaccess file, the directory disappears from the listing. Is there a way to keep them visible? I'd prefer not to resort to scripting if I don't have to.
Thanks in advance.
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.