Afficher un message
Vieux 04/02/2008, 21h36   #10
Paul Pedersen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Newbie question - Hide a file


"Erwin Moller"
<Since_humans_read_this_I_am_spammed_too_much@spam yourself.com> wrote in
message news:47a6ecac$0$85786$e4fe514c@news.xs4all.nl...
> Paul Pedersen wrote:
>
> <snip>
>
>>> But how do I do that?
>>>
>>> Especially if my web site is hosted on a shared server somewhere in
>>> cyberspace, how do I put files "outside DocumentRoot"?

>>
>>
>> I found the answer, for anyone else who has this problem. Sign in to your
>> hosting account and find a a place that will allow you to set file and
>> folder permissions.
>>
>> I still haven't found how to do that on the Apache server on my local
>> machine, but I'm sure there's a way.
>>

>
> That is not placing files outside documentroot.
> You are describing some system you havin't even mentioned.
> Placinf file outside documentroot mean that you put them in a directory
> that is simply not under your documentroot.
> eg: If the documentroot for your webapp is:
> /home/paul/public_html/
> you place them for example here:
> /home/paul/mydir/
>
> Bottomline is nobody can type something like this:
> http://www.example.com/~paul/secretfile
> and access the file.



Yes, that's what I meant.

Although I am running Apache locally for test and development purposes, that
is not where the site is hosted. It's hosted on a remote shared server
running Apache, and I don't think I have a way to put a directory "outside"
documentroot in that situation.

I know that's not strictly an Apache issue, but if you have an answer, I'd
be glad to hear it.





  Réponse avec citation
 
Page generated in 0,05441 seconds with 9 queries