You are here: Re: How to prevent a file listing? « HTML « IT news, forums, messages
Re: How to prevent a file listing?

Posted by Jonathan N. Little on 08/25/05 18:58

CptDondo wrote:

> Toby Inkster wrote:
>
>> CptDondo wrote:
>>
>>
>>> I've also found that the -Indexes option breaks IE for some weird
>>> reason....
>>
>>
>>
>> You must have been mistaken/drunk/stupid that day. Turning off Directory
>> indexes effects all browsers equally.
>>
>
> That's what I would have thought.... But one person with Japanese WinXP
> and IE kept getting permission denied errors until I turned it back
> on.... Worked fine on my Linux/Firefox workstation.... Maybe I'll do a
> bit of testing once I get back on a WinXP box...

If indexes are off then they SHOULD get a 403 Forbidden error on any
request to a site's sub directory without either a request explicitly
for an *existing* document in that directory or a default *index*
document. 403 error is generated bay the server, the browser has nothing
to do with it!

If the OP does not have access to the server configuration to turn off
indexes or and .htaccess to do the same then as previously suggested a
very simple solution is to put a index.html file in such folders with
warning message about improper access and a link back to your html
documents....

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация