This is not as much as an answer to the question as it is a suggestion/feature request :)

PHP has an "apache_note('note_name', 'value')" function (see http://us3.php.net/apache_note) that let's you pass a piece of data to Apache. You can then setup a CustomLog in Apache with a %{note_name}n in place of username field.

I'm fairly certain making this available would require some mod_webkit work - but I think this would be convenient for the exact purpose you described.

--Vitaliy

On Sun, 8 Jun 2003 16:42:28 -0400
 "Hancock, David (DHANCOCK)" <[EMAIL PROTECTED]> wrote:
(This may be off-topic, being more of an HTTP question, but I hope you'll
indulge me.)


I would like to put the userid into the Apache log (for tracking purposes),
and if I use HTTP Basic Authentication, of course it goes in properly. But
we already manage userids and passwords separately and prompt for them with
WebKit pages, and don't want users to see the browser-generated dialog for
soliciting a userid and password.


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to