[BlueOnyx:07875] Re: How to disable directory listing

Lew Berry LCBerry at LCBConsulting.net
Wed Jul 27 16:50:50 -05 2011


 

I have a site that does not have an index.html in the root. It's
intended to be referred from another web site that specifies the file.
However, when the URL is entered without the file name, a listing of the
contents of the directory is returned. Other than creating an
index.html, is there any way to disable the directory listing?

 

Thanks,

-Mark

 

You can disable  directory browsing, but it'll just return a generic no
access or not permitted error. My thoughts are better off writing a
simple index.html stating "no filename specified, please confirm your
request and remember file names are case sensitive" or something along
those lines. Could save you a lot of support phone calls.

 

 

Lew Berry, MCSE, MCT, CSSA

LCB Consulting Inc.

Systems Engineer

450-106 State Road 13 N, #205

St Johns FL, 32259

LCBerry at LCBConsulting.net <mailto:LCBerry at LCBConsulting.net> 

(904) 482-1405

(904) 322-5049 fax

(904) 651-1046 cell

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20110727/371650b1/attachment.html>


More information about the Blueonyx mailing list