From: | The Hermit Hacker <scrappy(at)hub(dot)org> |
---|---|
To: | mycgiserver <general(at)mycgiserver(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Your RDBMS Survey ... |
Date: | 2000-12-04 13:58:06 |
Message-ID: | Pine.BSF.4.21.0012040956230.1558-100000@thelab.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, 4 Dec 2000, mycgiserver wrote:
> Hi,
>
> that's an idea, however this approach would fail if 2 clients in an INTRANET
> would like to cast a vote, only the gateway IP would be visible to our
> server and that would cause the second client to be rejected.
>
> See, it ain't that easy.
okay, so instead you are proposing to make the vote only accessible to
users of your system (re: original email response) ... so now, instead of
losing the *occasional* person that is sharing an IP, you lose everyone?
> -----Original Message-----
> From: The Hermit Hacker <scrappy(at)hub(dot)org>
> To: mycgiserver <general(at)mycgiserver(dot)com>
> Cc: pgsql-general(at)postgresql(dot)org <pgsql-general(at)postgresql(dot)org>
> Date: 4. Dez 2000 14:35
> Subject: Re: Your RDBMS Survey ...
>
>
> >
> >Good point, about the proxy ... we run Squid at work, and you are corect
> >that REMOTE_ADDR will show up the proxy server's IP, but, at least with
> >Squid, a second environment variable will be setup in that case, called
> >'HTTP_X_FORWARDED_FOR', that contains the true IP of the visitor ...
> >
> >A simple:
> >
> >if(HTTP_X_FORWARDED_FOR) {
> > use this IP
> >} else {
> > use REMOTE_ADDR
> >}
> >
> >would work around that limitation/problem ...
>
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org
From | Date | Subject | |
---|---|---|---|
Next Message | Rasputin | 2000-12-04 14:08:23 | Password protection? |
Previous Message | The Hermit Hacker | 2000-12-04 13:34:44 | Re: Your RDBMS Survey ... |