[cgiapp] app authorization patterns, best practices?

Nic Zero niczero at wow.com
Wed Apr 25 03:51:08 EDT 2012


No, the main modules don't rely on the drivers being in a close relative path, they just need to be on perl's @INC path.  Take a look at the code of the main modules; it's fairly easy to read and you'll see that it tries multiple path patterns to find your drivers.  Best give your drivers the same name prefix as existing drivers though.
Nic




From: B. Estrade <estrabd at gmail.com>
To: CGI Application <cgiapp at lists.openlib.org>
Sent: Tuesday, April 24, 2012 at 7:04 pm
Subject: Re: [cgiapp] app authorization patterns, best practices?

I am finally at the point where I am writing a driver, so I have a

stupid question.



Do I need to place this into the main module's parent directory in

order to have Authen/z use them?



Thanks,

Brett





More information about the cgiapp mailing list