Re: Restricting access to a website [message #174859 is a reply to message #174856] |
Wed, 13 July 2011 19:56 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma:
|
Senior Member |
|
|
.oO(The Natural Philosopher)
> No, its just Jerry being dumb and stubborn as usual.
>
> On the basis that te OP wants to play in the PHP sandpit and not the
> Apache sandpit the optimal and more than adequate solution is to use the
> pre-loaded variables to examine the browser remote IP address and
> display page material contingent on that.
Your view is as short-sighted as usual.
> Its a far more powerful and flexible way
Indeed, but it's also less efficient. The OP has to decide what's more
important in his situation. If it's just about a simple IP restriction
without a complex user management, then doing it on the Apache level is
most likely the better way.
> , and is the sort of thing you
> might use to say 'Vous etes en France, Pour la version en Anglais, ici->'
I know French, I just can't speak it … ;-)
> (You could aslo reconfigure your firewall to only allow physical IP
> access from them:Sledgehammers and nuts)
How's that different from altering the Apache configuration?
Micha
|
|
|