simple file permission and apache config file will do the trick

-hth
On 2/22/06, Zak B. Elep <[EMAIL PROTECTED] > wrote:
Hi Arnel!

On 2/20/06, Arnel Pastrana < [EMAIL PROTECTED]> wrote:
> Here is the problem  in my /var/www/ folder an ordinary user can view
> and see the content of this using ssh.
>
> Is it possible to set to a certain user only hide it to others?

Actually /var/www is just the default wwwroot in Debian (if you look at
it in a new clean install there should just be a couple of files there.)
It is recommended that you store your real www files inside some
directory in /srv , configure your site configurations (e.g., in
apache2, /etc/apache2/sites-enabled/<your-site-http.conf>) accordingly,
and hide those from local users via some chmod magic.

Hope that helps,

Zakame

--
Zak B. Elep  ||  http://zakame.spunge.org
[EMAIL PROTECTED]  ||  [EMAIL PROTECTED]
1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph


_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to