Hi:

I am trying to implement a database driven solution for a small university
website (300+ users) and quite happy with Authentication and Authorization
packages provided by mod_perl. However, there doesn't seems to be a solution
to dynamically protect a directory without restarting Apache.

What I will like to do:
Store the URI <Directory> need to be protected in the database with the
permitted Groups.

What I have done:
Using <Perl> and DBI in httpd.conf, and query the database for the directory
information every time Apache starts.

Problem:
For Authentication and Group Authorization, changes in the database will be
reflected without restarting Apache. Not so for the URI <Directory> part of
it.

I have thought about restarting Apache from time to time, but thinking there
must be a "lazier" way with performance consideration.


Thanks for any comments or tips.


Simon Wei


Reply via email to