bugaloo has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Does anyone know how accomplish this? We really would prefer no to use the standard .htaccess popup screen. Thanks much.

Replies are listed 'Best First'.
Re: Custom Login Page using .htaccess
by FamousLongAgo (Friar) on Nov 07, 2002 at 21:01 UTC
    When you use HTTP access controls, the browser handles the interface, and I don't believe there are any hooks into it. You are stuck with what the browser wants to display.

    If you do your own verification using server-side scripting, then you can create your own login page and have full control over everything. There are a thousand tutorials on session management with CGI, just use the search box on this site.

    Good luck!
      Thanks much!
Re: (nrd) Custom Login Page using .htaccess
by newrisedesigns (Curate) on Nov 07, 2002 at 21:07 UTC

    Depending on the amount of information, you could just roll your own script that emulates the same functions of authorization through Perl.

    Let the script place cookies on the user's machine, and if cookies are present (and meet some sort of credentials), you present the information requested.

    If you need something more specific, or would like more help, please post a follow-up.

    John J Reiser
    newrisedesigns.com

Re: Custom Login Page using .htaccess
by shotgunefx (Parson) on Nov 07, 2002 at 22:01 UTC
    I think the only way you could do it at the server level would be do it with a mod_perl handler. Or you can just set up your script to do it's own authentication and authorization.

    -Lee

    "To be civilized is to deny one's nature."