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

Posted by Captain Dondo on 08/25/05 19:24

Jonathan N. Little wrote:

> 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....
>

Maybe my recollection is wrong... But I remember it was a stumper... I
am using ModRewrite and there may have been some other things in there
that screwed it up...

 

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

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