[dokuwiki] Re: Any chance of authorisation by IP address?

  • From: Chris Green <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 24 Jan 2012 10:38:04 +0000

On Tue, Jan 24, 2012 at 10:39:56AM +0100, Felix Mühlbauer wrote:
> On Sat, 21 Jan 2012 18:55:26 +0000
> Chris Green <cl@xxxxxxxx> wrote:
> 
> > It would be really nice if my wiki could be an open wiki for anyone
> > within our home LAN but require authorisation for anyone connecting
> > from the outside world.
> > 
> > Has anyone thought of adding this sort of ability to DokuWiki?
> 
> Hi,
> 
> add to your .htaccess file in the dokuwiki root:
> 
> order deny,allow
> deny from all
> allow from 192.168.1.1/24
> 
> Change 192.168.1.1 to your network if necessary. 24 is related to the
> size of your subnet. Also see the apache documentation for .htaccess
> files.
> 
Yes, I realise I can do it that way, I was just thinking that it would
be nice to integrate it in the Dokuwiki ACLs.  Actually I need more than
that because I do want to be able to access it myself from outside, so
I'd need .htpasswd etc.

-- 
Chris Green
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: