Hi,

I'm trying to get a file upload happening, and using basic authentication with 
it, by placing an .htaccess as follows, in the directory

        AuthUserFile /var/www/htaccess/passwd 
        AuthGroupFile /var/www/htaccess/group 
        AuthName Articles 
        AuthType Basic 
 
        <Limit GET POST> 
        require group contrib 
        </Limit> 
 
The upload form and the POST accepting .tml are derived from the file.tml and 
testupload.tml examples from tclhttps 3.2, which I'm using.

Everything works as expected without authentication, but with authentication, 
the server requests authentication (I can see it closing the socket 
afterwards) and waits for a response, but the browser (netscape 4.73 and4.75) 
doesn't seem to get the request, and proceeds to send the MIME-encoded post 
contents, which the server tries unsuccessfully to interpret as a URL in 
response, presumably, to the authentication request.  I should note that I do, 
in fact, get a challenge when I get the file-form page.

Perhaps I'm doing something wrong with authentication, but I'm buggered if I 
can see what.  Anyone have any ideas?

TIA,
Colin.


Reply via email to