in reply to Apache::AuthTicket

You need to make your own module which inherits from Apache::AuthTicket and override the make_login_screen method within it. Does that make sense to you?

Replies are listed 'Best First'.
Re^2: Apache::AuthTicket
by Anonymous Monk on Sep 02, 2004 at 23:33 UTC
    Hello perrin, Thank you for taking you time to reply, In theory it does but in practice well that’s another matter :(

    I know how to call my own module but im unsure in this
    scenario were I would be placing the call to my module,
    im presuming in the apache config? im I even close?

    I guess what i require is a more detailed example. Do you know of any books that cover this module or similar ones.

    Again thanks for your help. regards
    Gareth

      You would replace all calls to Apache::AuthTicket in your httpd.conf with calls to your module.

      <Location /foologinform> AuthType Apache::AuthTicket AuthName Foo SetHandler perl-script Perlhandler Your::Module->login_screen </Location>
      You can find lots of help with this and other things on the mailing list at the mod_perl site or in one of the books about mod_perl recommended there.
        Perrin Just wanted to thank you for your example.
        Sorry for the delay in replying to your helpful post, (was away on businesses)
        I will endeavour to make your suggestion work.

        Kind regards.
        Gareth