Restricting access to a directory by time of day?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've searched a little but didn't find anything.

I'm thinking about putting something online that may use a bit of bandwidth, so
I'd like to retrict access to times when the office isn't open.  Ideally, I'd
like to have a page displayed to people who try to hit the page explaining the
situation.

I could do this with some combination of cron jobs and scripts (OS is OpenBSD)
but I wondered if there was a way to make it a property of a <Directory /> in
the httpd.conf file.  Or some other nice built-in way that doesn't resort to
replacing httpd.conf and restarting Apache twice a day.

Thank you,

  Alan

Still using an operating system that gets viruses, costs money, insults your intelligence, and then accuses you of stealing it?  Why?  www.openbsd.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux