[H-GEN] Apache restrict directory
Nikolai Lusan
nikolai at humbug.org.au
Thu Apr 13 23:16:50 EDT 2000
[ 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.
> can this kind of config be done by configuring HTTPD (apache) CONF files? or
> do i have to incorporate "ipchains" rules??
there is no way to do this with ipchains, unless you are only going to allow the
10.10.10.0/24 network access the apache port.
Nikolai
--
* 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