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

Re: [cgiapp] Design question - structure and authen/authz



On Feb 6, 2006, at 1:55 PM, Sean Davis wrote:

Are you running your C::A site under mod_perl, or is the C::A straight perl
cgi?

Sean

Straight perl cgi at the moment. I have control of the server and would not rule out mod_perl if it would make my life easier. I have never worked with mod_perl. For that matter, I don't work frequently with Perl and C::A, so I've been coming back up to speed.




On 2/6/06 2:51 PM, "Ed Pigg" <suppressed> wrote:

Hi all,

I'm reworking a C::A site to provide more flexibility and control.
This site has been functioning using Apache Basic Authentication and
that has served it's purpose up to now. I would like to use a sql
database to store user information and retrieve access rights based
upon group membership. If I use Apache built-in authorization modes,
I can control location authorization in the host config. I may be
missing something but I have not seen a mod_auth_mysql module for
apache.

I essentially would like any request to the site redirected to a
login page if not logged in. This I know how to do. Would you make a
static login page on index.html? or point into the application and
let it handle the rest. If I want full control over served content,
do I set the document root to be in my C::A base module? and redirect
for static content? Must each page then be a template? or am I making
this all too hard?

Sorry if this is confusing, it probably shows where my thoughts are
at the moment.

Ed Pigg

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.