Ok, I'm modifying the Tomcat 4 config. Here is what I found in the
Tomcat doc :


"
4) Advanced Configuration - Multiple Tomcat 4 Instances

In many circumstances, it is desirable to have a single copy of a Tomcat
4
binary distribution shared among multiple users on the same server.  To
make
this possible, you must configure a CATALINA_BASE environment variable
(in
addition to CATALINA_HOME as described above) that points to a directory
that is unique to your instance.

When you do this, Tomcat 4 will calculate all relative references for
files in
the following directories based on the value for CATALINA_BASE instead
of
CATALINA_HOME:

* conf - Server configuration files (including server.xml)

* logs - Log and output files

* webapps - Automatically loaded web applications

* work - Temporary working directories for web applications

If you do not set CATALINA_BASE to an explicit value, it will be
initialized
to the same value as is set for CATALINA_HOME (which means that the same
directory is used for all relative path resolutions).
"

-Vincent

> -----Original Message-----
> From: Robertson, Jason [mailto:[EMAIL PROTECTED]]
> Sent: 17 January 2002 20:46
> To: 'Cactus Developers List'; 'Vincent Massol'
> Subject: RE: Problem with Tomcat 4.0 authentication
> 
> Ok, the problem is that Tomcat isn't using the tomcat-users.xml file
in
> the
> cactus-specified conf directory, but the one in the %TOMCAT_HOME%/conf
> directory. Add the testuser/testpwd entry to that file and things
work.
> 
> If I have a chance I'll dig into Tomcat code and see what's up. Looks
like
> a
> Tomcat bug to me.
> 
> Jason
> 
> -----Original Message-----
> From: Robertson, Jason
> Sent: Thursday, January 17, 2002 2:55 PM
> To: 'Vincent Massol'; 'Cactus Developers List'
> Subject: RE: Problem with Tomcat 4.0 authentication
> 
> 
> Ignore previous response. I should completely read and then think and
then
> email.
> 
> I'm currently running tomcat outside of the cactus tests, and I can
> request
> the ServletRedirector in IE and it prompts me properly and when I
enter
> testuser/testpwd I get the good old 'Missing service name parameter'
so
> I'm
> getting as far as I can manually and it seems that Tomcat is working.
> 
> Interestingly, however, from the release notes of Tomcat 4-0-1, under
the
> "using with Apache" section:
> 
> * With this release, FORM-based authentication will work correctly,
but
>   there is a bug that prevents BASIC authentication from operating.
This
>   will be addressed before final release.
> 
> I also found a handful of mentions in the archives about basic
> authentication not working, such as:
> 
> http://www.apachelabs.org/tomcat-
> user/200109.mbox/%3C20010914101338.E38404-1
> 00000@localhost%3E
> 
> But I don't know if this applies to using the built in web server or
just
> the Apache Web Connector.
> 
> Jason
> 
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 6:16 PM
> To: 'Cactus Developers List'
> Cc: Robertson, Jason
> Subject: Problem with Tomcat 4.0 authentication
> 
> 
> Jason,
> 
> For some reasons, I cannot configure properly Tomcat 4.0 to run with
our
> basic authentication. It works fine with Tomcat 3.3. I am sure I have
a
> bad setting somewhere but I can't find where.
> 
> You can find the summary of what I set up either in CVS or in the
email
> I sent to the Tomcat 4 mailing list (but I got no response ... :-( ),
> available at :
>
http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg42173.ht
> ml
> 
> The result of the build is :
>
http://www.mail-archive.com/cactus-dev%40jakarta.apache.org/msg00286.htm
> l
> 
> Any idea ?
> Thanks
> -Vincent
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-dev-
> [EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to