Posted by Mike on 11/02/07 09:28
"Michael Fesser" <netizen@gmx.de> wrote in message
news:jjaki3lk9vj5n7dc9ab4jle8p7nmnvqunj@4ax.com...
> .oO(Mike)
>
>>not sure i'm following what you are asking correctly but, if you move:
>>
>>> MYSITE.com/one.php
>>> MYSITE.com/two.php
>>
>>to a folder outside of the document root, example
>>
>>> MYSITE.com/secure/one.php
>>> MYSITE.com/secure/two.php
>>
>>you can then use htaccess to secure this directory and subsequently the 2
>>files. Alternatively instead of using htaccess you can use PHP to secure
>>the 2 pages.
>
> "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.
>
> Micha
Wherever he puts them there is no reason for him not to use .htaccess as
well. There must be a reason he
needs these 2 files on the server otherwise he might as well remove them.
Navigation:
[Reply to this message]
|