On Thu, 2005-02-17 at 20:12, Mike Cunningham wrote:
> I am trying to setup an Apache server with an inprocess Tomcat server to
> run jsps, and set it up so that a user must authenticate using an
> iSeries userid/profile in order to run the jsp. I have the server
> configured and it can run the snoop.jsp code but it does not ask for a
> signon before running. If I try and access the index.html file I must
> signon first.  Any ideas what I am doing wrong ?  


> with the index in htdocs and the jsp in webapps/example
> 
> <Directory /www/dan/htdocs>
>    Order Allow,Deny
>    Require valid-user
>    Allow From all
>    UserID %%CLIENT%%
>    PasswdFile %%SYSTEM%%
>    AuthType Basic
>    AuthName dan
> </Directory>

Since the jsp is not underneath the htdocs/ directory, the
authentication requirement would not apply.  You should add a block like
the one above for /www/dan/webapps or /www/dan/webapps/example

Joel Cochran
http://www.rpgnext.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.