Wojciech Kocjan <[EMAIL PROTECTED]> writes:
> I was wondering if it is possible to make some authorization with
> dtcl (without using htaccess/sql mods)?
Done. It's in CVS.
I use the variables
USER(user)
and
USER(pass)
Here's a sample script:
<+
hgetvars # necessary!
if { ! [info exists USER ] } {
headers set WWW-Authenticate {Basic realm="/"}
headers numeric 401
} else {
hputs "user: $USER(user), pass: $USER(pass)"
}
+>
Ciao,
--
David N. Welton
Personal: http://www.efn.org/~davidw/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]