On 3/27/11 11:48 AM, stephen goldman wrote: > I wish to create a web site I can copy software from. Later wish to > restrict access to an htpasswd file. > Having trouble configuring apache to display directory listing from the > web site. > The directory's path in shared 755 - an index.html file works file. > I 've tried many options with no success. Open to new ideas please.
I'd check a few things: you should probably have one or both of mod_dir and/or mod_autoindex for this to work. If you have an index.html file, you won't get directory indexing. Do you have htaccess files (requires "AllowOverride AuthConfig" in httpd.conf <directory> section)? Apache searches from the requested directory upwards and uses *all* .htaccess files that are found (although you'd have to look up how these are combined/prioritized). The short version is: this should just work. When this kind of thing doesn't work for me, I strip my httpd.conf file to bare bones and add in minimal features one at a time until the desired behavior is found, then I add in blocks of the other config until something breaks. Good luck. Let us know how you get on. Ian
_______________________________________________ Discuss mailing list [email protected] http://lists.blu.org/mailman/listinfo/discuss
