httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] access control based on time of day
Date Sun, 29 Jan 2006 05:46:01 GMT
On Sunday 29 January 2006 03:53, McDouglas wrote:

> I've read the documentations of mod_access and mod_auth, but could not find
> any information.
>
> "Access can be granted or denied based on a wide variety of criteria, such
> as the network address of the client, the TIME OF DAY, the phase of the
> moon, or the browser which the visitor is using."
> (http://httpd.apache.org/docs/1.3/howto/auth.html)
>
> After reading this, I hoped it is possible to do. Any ideas?

Come to think of it, you could presumably also work around it with
mod_rewrite and a rewriterule that sends users to a "go away" page
at forbidden times.  But that's going to be a bit of a nightmare if you
want, for example, to permit *some* users access all the time.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message