-
January 13th, 2010, 08:28 PM
#1
Apache2 Time of Day Access
Is it possible to restrict access to certain folders based on time of day, when using Apache2? I have done some googling, but came up short. I figured you might be able to configure that with .htaccess, but haven't found a way to do so.
Any help would be greatly appreciated.
[FYI Apache2 is running on Ubuntu 8.04.3 LTS]
\"Those of us that had been up all night were in no mood for coffee and donuts, we wanted strong drink.\"
-HST
-
January 13th, 2010, 09:23 PM
#2
Junior Member
You could off course make a couple of .htaccess files depending on the different access settings you want, and then setup cronjobs to copy the .htaccess you want to be active into your document root.
Maybe?
-xqus
-"I don't need no stinking spel checkre!"
-
January 13th, 2010, 10:34 PM
#3
Heh. I thought about that before I posted. I was hoping it wouldn't come to that. Does Apache have to be restarted for changes in .htaccess to take effect?
Thanks for the suggestion... that might be the solution.
\"Those of us that had been up all night were in no mood for coffee and donuts, we wanted strong drink.\"
-HST
-
January 14th, 2010, 02:40 PM
#4
Junior Member
Originally Posted by westin
Does Apache have to be restarted for changes in .htaccess to take effect?
No. Apache reads .htaccess for each request.
-xqus
-"I don't need no stinking spel checkre!"
Similar Threads
-
By Spyder32 in forum Miscellaneous Security Discussions
Replies: 1
Last Post: May 27th, 2008, 01:17 PM
-
By gore in forum Miscellaneous Security Discussions
Replies: 11
Last Post: June 13th, 2006, 04:06 AM
-
By foxdie in forum AntiVirus Discussions
Replies: 11
Last Post: April 4th, 2004, 02:52 AM
-
By gore in forum Tech Humor
Replies: 16
Last Post: July 24th, 2003, 01:06 PM
-
By R0n1n in forum *nix Security Discussions
Replies: 3
Last Post: November 20th, 2002, 02:20 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|