public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Restrict certain web users by IP
Date: Thu, 29 Nov 2012 15:36:51 -0800	[thread overview]
Message-ID: <CAN0CFw3w5YmxZBmSsNCY29B3FxLmQLsDDK44SudnRzRm3udfmA@mail.gmail.com> (raw)
In-Reply-To: <20121129224338.7a18e0d5@khamul.example.com>

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

> > I want users jack and jill to be able to access the web content from
> > any IP address, and I want users john and jacob to be able to access
> > the web content only if they are coming from a certain IP address.  I
> > don't want anyone else to have access.
> >
> > - Grant
>
> Run two vhosts that deliver the same content from the same DocumentRoot
>
> One has jack and jill as users in htpasswd with no acls in place
> The other has john and jacob as users in a different htpasswd with IP
> acls in place
>
> Trying to specify access rules to a group of users and not to other
> users all in the same context is a problem that will drive you nuts in a
> day. Rather side-step it entirely by applying your rules globaly to two
> different things.

So I'm sure I understand, if I want to keep the IP address which accesses
the web content the same, this means setting up a vhost for a port other
than 80 and 443 which the other vhosts are already set up on?

- Grant

[-- Attachment #2: Type: text/html, Size: 1147 bytes --]

  reply	other threads:[~2012-11-29 23:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29  0:34 [gentoo-user] Restrict certain web users by IP Grant
2012-11-29  1:35 ` Joseph
2012-11-29  4:10   ` Grant
2012-11-29 17:55     ` Joseph
2012-11-29 19:55       ` Grant
2012-11-29 20:43         ` Alan McKinnon
2012-11-29 23:36           ` Grant [this message]
2012-11-30  0:35             ` Adam Carter
2012-11-30  6:57             ` Alan McKinnon
2012-11-30  1:04           ` Michael Orlitzky
2012-11-30  8:37             ` Grant
2012-11-30 16:48               ` Michael Orlitzky
2012-12-01  5:26                 ` Grant
2012-11-29 20:49         ` Joseph

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN0CFw3w5YmxZBmSsNCY29B3FxLmQLsDDK44SudnRzRm3udfmA@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox