Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Limit Protected Directory to One user at a time

...to avoid administration mix-ups

10:31 am on Aug 26, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:July 28, 2003
posts: 468
votes: 0

Hello - I've recently had situations where to administrators were modifying a website catalogue at the same time, with disasterous results.

I could set up a 'session detector' in the administration page in question through php, but I think using the Apache's native 'directory' functions would be simpler - but I can't seem to find any directive to limit active connections to just one user at a time. Am I overlooking something?

Thanks in advance for any advice.

5:53 pm on Aug 26, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

Apache has no innate knowledge of any HTTP request which happened before the one it is handling now. So it is not at all "seesion aware."

Your solution of modifying the admin script is the correct one.