PDA

View Full Version : Disabling Dir Viewing with .htaccess



Nick
December 9th, 2000, 12:31
As some of you may know, HyperMart allows all directories to be viewed when there is no DirIndex file. I know how to allow the viewing of directories with the .htaccess file, but I wanto to disable that because I need to keep people out of work in progress directories, and image/file directories.

Thanks in advance.

KapTinKiRk
December 9th, 2000, 13:33
http://www.virtualscape.com/support/wbcorner/q_directoryList.cfm

Nick
December 9th, 2000, 13:41
Thanks dude.

Jerry
December 9th, 2000, 19:06
so how do you enable directory viewing on a server that disables it by default? :) [f2s.com]

Nick
December 9th, 2000, 21:22
Originally posted by Jerry
so how do you enable directory viewing on a server that disables it by default? :) [f2s.com]

Check out http://www.users.f2s.com FAQ's

Jerry
December 10th, 2000, 23:32
great! i found the solution there..

Options All MultiViews

thanks nick

Chicken
December 11th, 2000, 00:38
Originally posted by Nick
As some of you may know, HyperMart allows all directories to be viewed when there is no DirIndex file. I know how to allow the viewing of directories with the .htaccess file, but I wanto to disable that because I need to keep people out of work in progress directories, and image/file directories.

Thanks in advance.

Note that a blank index.html file works wonders for this sort of thing :)