Hi.  To get .htaccess to work, I found that I had to add the following
line to tclhttpd.rc:

   catch {load libcrypt.so} err

Otherwise, I got the following error when I tried to access an
htaccess-protected URL:

error while autoloading "crypt": couldn't load file
"/home/tclhttpd/lib/Binaries/Linux/crypt.so":
/home/tclhttpd/lib/Binaries/Linux/crypt.so: undefined symbol: crypt
    while executing
"crypt $pass $salt"
    (procedure "AuthVerifyBasic" line 42)
    invoked from within
"AuthVerify$type $sock $key"
    (procedure "Auth_Verify" line 7)
    invoked from within
"Auth_Verify $sock $cookie"
    (procedure "DocHandle" line 3)
    invoked from within
"DocHandle /home/tclhttpd/htdocs/grib/hello.txt grib/hello.txt {Basic
/home/tclhttpd/htdocs/grib/.htaccess} $sock"
    ("eval" body line 1)
    invoked from within
"eval $cmd {$sock}"
    (procedure "Url_Handle" line 6)
    invoked from within
"Url_Handle [list DocHandle $path $suffix $cookie] $sock"
    (procedure "DocDomain" line 33)
    invoked from within
"DocDomain / /home/tclhttpd/htdocs $sock $suffix"
    ("eval" body line 1)
    invoked from within
"eval $Url(command,$prefix) {$sock $suffix}"

Am I missing something or is this how it's supposed to be?

Thanks...
Tom


Reply via email to