[BlueOnyx:07881] Re: How to disable directory listing
Richard Morgan
richard at morgan-web.co.uk
Wed Jul 27 19:17:38 -05 2011
Hi Mark
I agree with the other suggestions... even a zero sized index.html will prevent browsing. You may want to look at .htaccess - a Google search for 'htaccess options indexes' will point you in the right direction, but there are redirect options that can point the user back to something meaningful.
Richard
----- Original Message -----
From: Darrell D. Mobley
To: 'BlueOnyx General Mailing List'
Sent: Wednesday, July 27, 2011 11:51 PM
Subject: [BlueOnyx:07880] Re: How to disable directory listing
Or a blank index.html
From: blueonyx-bounces at mail.blueonyx.it [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of Lew Berry
Sent: Wednesday, July 27, 2011 5:51 PM
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:07875] Re: How to disable directory listing
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
(904) 482-1405
(904) 322-5049 fax
(904) 651-1046 cell
------------------------------------------------------------------------------
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20110728/dd7bb9e3/attachment.html>
More information about the Blueonyx
mailing list