Jeremy,
Did you ever find a solution to this auth problem ? I tried
to recreate the error that you were having, but could not.
I was using Apache::ASP v.16 & (dev) v.17 on Solaris &
WinNT, with apache's 1.3.4, 1.3.6, and mod_perl's 1.17,
and 1.20.
I created a test directory with the .htaccess:
> <FilesMatch "\.(asp)$">
> SetHandler perl-script
> PerlHandler Apache::ASP
> PerlSetVar Global /tmp
> PerlSetVar CookiePath /
> PerlSetVar SessionTimeout .5
> </FilesMatch>
and then a sub admin directory with the .htaccess:
> AuthUserFile htpass
> AuthName "Administration Pages"
> AuthType Basic
> require valid-user
and when browsing the admin directory, got the normal
user/pass basic auth prompt. You had said that v.16
messes things up for you, but not v.15, but everything
works for me with v.16, and there aren't any changes
that I'm aware of that would create this behavior for you.
There were some auth changes in v.16, but that was for
when the ASP scripts handles the auth itself. The problem
you have seems to be that something is getting in the way
of the normal auth mechanism. Are there any error messages
of note when this happens to you ?
Sorry for my tardiness on this dealing. I've been behind
on things because of a recent move.
-- Joshua
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NODEWORKS >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051
Jeremy Domingue wrote:
>
> Hey Joshua,
>
> Actually, I haven't done anything out of the ordinary to the config... I
> just have Apache 1.3.9, mod_perl 1.21, and Apache::ASP 0.16. In the root
> document dir (in my case /home/httpd/html), in my .htaccess file I have the
> following:
>
> <FilesMatch "\.(asp)$">
> SetHandler perl-script
> PerlHandler Apache::ASP
> PerlSetVar Global /tmp
> PerlSetVar CookiePath /
> PerlSetVar SessionTimeout .5
> </FilesMatch>
>
> (I have also tried the <Files> directive with the same result)
>
> And then I have a subdirectory called 'admin' with the following in the
> .htaccess:
>
> AuthUserFile /home/httpd/userfiles/passfile
> AuthGroupFile /dev/null
> AuthName "Administration Pages"
> AuthType Basic
> <Limit GET POST PUT>
> order deny,allow
> deny from all
> allow from all
> require valid-user
> </Limit>
>
> When I try to access the 'admin' dir through a browser with Apache::ASP
> enabled, it does not request authentication... it just gives me a 401
> error. When I comment out the <FilesMatch> directive from the root .htaccess
> file and try to access the admin dir again, I get the proper request from
> the server (the popup box asking for the username and password).
>
> With an earlier version of Apache::ASP, the above was not happening. After
> reading the changes in 0.16, I'm wondering if it's due to the change you
> made that allowed Apache::ASP to be 'Basic Authentication friendly'?
>
> Jeremy Domingue
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Joshua Chamas" <[EMAIL PROTECTED]>
> To: "Jeremy Domingue" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, October 07, 1999 8:03 PM
> Subject: Re: Apache::ASP & Apache Authentication?
>
> Its doesn't make any sense to me either. If
> you give me a small configuration which reproduces
> the problem, I can try to recreate the bug on my
> system, which may get us somewhere.
>
> --Joshua
>