[H-GEN] Apache restrict directory
Luke Grant
luke.g at uq.net.au
Thu Apr 13 23:34:47 EDT 2000
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
On Fri, 14 Apr 2000, Nikolai Lusan wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Please observe the list's charter. ]
>
>
>
> yh tan wrote:
>
> > i'm curious if it's possible to restrict directory access of the apache web
> > server by just turning the knobs in httpd.conf or/and srm.conf or/and
> > access.conf?
>
> The kind of thing that you want to do does not really belong in the conf files,
> there is room for a user owned file called .htaccess you put this kind of
> restriction in there.
or you could put the following entre into your httpd.conf file.
<Directory /directory/you/want/restricted>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
order deny, allow
deny from all
allow from 10.0.0.0/24
</Limit>
</Directory>
Lukr Grant
=====================================================
Luke Grant
mob#: 0413 317 952
mail: Luke.G at uq.net.au
=====================================================
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list