Re: Apache-www-pages protection?
> as a newbie for running apache I wanted to know an easy method to give
> access to certain web-pages for restricted selected users only (using
> Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null
The apache documentation has the answer for this question in ther FAQ at
here is and example .htaccess for your ease... but please read and re-read the apache
documentation itis very thoruogh and it covers more seriuos security issues than what
i porpose to you today.
//////////////////// begin .htaccess remiove comments when you implement
AuthUserFile /usr/home/jeftep/gamesigpasswd #path to password file created by
AuthName "!leave if you don't belong!" # jsuta label
<Limit GET POST PUT>
allow from .domain.com # allow from selected domain can be a subset of an i[p sucha
require valid-user # if noit from that domain ask for a password
satisfy any # anyhting will make me happy and let you look atthe pages
//////////////////////// end //////////////////////////////////
remeber you web server has to be configured to allow authorization override on
.htaccess files and then just drop this inside the dir you want to protect
remeberto read teh manual and the FAQ.
note:www.gamesig.com -uniting the linux gaming community