You are here: Re: protect php file « PHP Language « IT news, forums, messages
Re: protect php file

Posted by Michael Fesser on 11/02/07 18:37

..oO(Mike)

>"Michael Fesser" <netizen@gmx.de> wrote in message
>news:jjaki3lk9vj5n7dc9ab4jle8p7nmnvqunj@4ax.com...
>>
>> "Outside of the document root" usually means _really_ outside and not
>> just one level deeper in a sub directory:
>>
>> /MYSITE.com/ (doc root)
>> /secure/one.php
>> /secure/two.php
>>
>> Then you don't need a .htaccess anymore, since /secure can't be accessed
>> by any URL at all.
>
>Wherever he puts them there is no reason for him not to use .htaccess as
>well.

Correct. I just meant he doesn't need a .htaccess anymore in the
directories outside of the document root, because they are of no use
there (the web server can't reach them).

Micha

 

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

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