I'm using mod_perl to do basic authentication on apache. I tried using mod_auth_mysql but the newer version won't compile against an older apache, and the older version didn't allow anything but usernames and passwords. I need to check other flags.
As I need to check other flags, I'd like to give the users messages in the AuthName. Is it possible to change the AuthName at runtime? Or can it only be set in the config?
My AuthName begins as "Enter your serial number and password", but if they enter those correctly but have not paid, I'd like to change it to something along the lines of "Your serial number and password are correct. Please pay in order to enter the support area."
Update: I should point out that the authentication is all working without any problems. I'm just looking for a way to change the AuthName.
Cheers!
Rick
If this is a root node: Before responding, please ensure your clue bit is set.
If this is a reply: This is a discussion group, not a helpdesk ... If the discussion happens to answer a question you've asked, that's incidental.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.