-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

John Martinez wrote:

> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> This message is directly related to http://java.apache.org/faq/?file=22
> in the faq-o-matic, but I'm still having problems.
>
> Apache JServ 1.0
> Apache 1.3.6
> Solaris 7
> JDK 1.1.8
>
> I'm trying to get basic authentication to work on a servlet location.
> When I add the appropriate lines, the browser reports a 404 error and
> I don't see any errors in any of the log files. The authentication piece
> itself works (using mod_auth_radius), but it's almost as if the server
> no longer can find the servlet mount point.
>
> Without authentication, the servlets work just fine.
>
> Here are the lines I'm using to authenticate:
>
> <Location /servlet>
> require valid-user
> AuthType Basic
> AuthName private
> </Location>
>
> Using a URL of http://<myserver>/servlet/Hello
>
> Any ideas?
>
> Thanks!
>

One thing you have not done is included any mention of which authentication
module to use, or where it should find it's data.  For example, if you were
using MOD_AUTH for this, you would need to include an AuthUserFile
directive to tell Apache where the password file was.  I don't know what
MOD_AUTH_RADIUS needs, but there's probably something additional required
-- see the module documentation for details.

>
> -john
>

Craig McClanahan


>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to