[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] All folders visable on whole server
- Subject: Re: [cobalt-users] All folders visable on whole server
- From: "Brian Curtis" <admin@xxxxxxxxxxx>
- Date: Fri Dec 8 17:26:18 2000
- Organization: Pomfret Computer Technologies
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> ----- Original Message -----
> From: "Brian Curtis" <admin@xxxxxxxxxxx>
> >
> > Forgot to add to my last message:
> >
> > <Files ~ "^adminpro\.(cgi|pl)$">
> > Order allow,deny
> > Deny from all
> > </Files>
>
> Brian, where does that go? In httpd.conf or in an .htaccess file?
Just about anywhere you want. Globally somewhere inside your httpd.conf
(outside any VHOSTs); within a VHOST for specific domain-based restrictions;
or a .htaccess.
I don't think the .htaccess method will be that effective unless you change
the ownership of the file so your user(s) wouldn't be able to delete it.
~~~~~~~~~~
http://www.apache.org/docs/mod/core.html#files
~~~~~~~~~~
<Files> directive
Syntax: <Files filename> ... </Files>
Context: server config, virtual host, .htaccess
Status: core
Compatibility: only available in Apache 1.2 and above
~~~~~~~~~~
--
Brian Curtis