Re: Dir Denied

2001-10-25 Thread RaFaL Pocztarski

[EMAIL PROTECTED] wrote:

 if I want to protect a special directory in which I put reserved files,
 I think that I have to act in the configuration file of Apache called
 httpd.conf

Try this:

  Directory /path/to/your/dir
  order deny,allow
  deny from all
  allow from 127.0.0.1
  /Directory

/path/to/your/dir is a physical path to your directory, where you have
your secret files. That way only localhost is allowed to view those
files. Is that what you need?

- RaFaL Pocztarski, [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Dir Denied

2001-10-25 Thread angelo . bettati

Hi RaFaL,
it is exactly what I want to do. I' ve tried with 127.0.0.1 and now all is
protected.
Thanks a lot !!!
Bye
Angelo


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Dir Denied

2001-10-24 Thread angelo . bettati

Hi to All,

I'd like to know if there is a way to deny the access to All (except the
owner of the machine) inside the directory htdocs of Apache in which it's
possible to put even reserved files.doc
I don't konw which parameters must be changed inside the file httpd.conf of
the Apache Server.

Thanks in advance !!
Bye
Angelo


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Dir Denied

2001-10-24 Thread _brian_d_foy

In article [EMAIL PROTECTED], 
[EMAIL PROTECTED] (Angelo Bettati) wrote:

 I'd like to know if there is a way to deny the access to All (except the
 owner of the machine) inside the directory htdocs of Apache in which it's
 possible to put even reserved files.doc

change the directory permissions. :)
-- 
brian d foy [EMAIL PROTECTED] - Perl services for hire
CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]