Brent Welch wrote:

> Subject: htaccess in tclhttpd?
> Date: Fri, 25 Feb 2000 12:22:32 -0800 (PST)
> From: Tom Barron <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
>
> 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

Provide another path in:

bin/crypt.tcl:load
/home/welch/cvs/tclhttpd/lib/Binaries/SunOS/5.6/crypt.so

--
#-------With best regards,    Mit freundlichen Gruessen,    Met vriendelijke groet,  
------
# Piet Vloet
# Siemens AG Austria
# Boschstrasse 10       Phone : +43-51707-42906
# A-1190 Vienna         Fax   : +43-51707-52606
# mailto:[EMAIL PROTECTED]                WWW:http://www.siemens.at


Reply via email to