× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi

I'm using a servlet to prompt for a user name and password (see snippet below). In my Apache 2.0.47 httpd.conf file, it works with

"LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM"

but not with

"LoadModule jk_module /QSYS.LIB/MOD_JK.LIB/MOD_JK.SRVPGM".

The MOD_JK.SRVPGM was restored from the save file in http://mirrors.ccs.neu.edu/Apache/dist/jakarta/tomcat-connectors/jk/binaries/iseries/MOD_JK_125.zip.


I'm using the CoyoteConnector in my server.xml configuration file. Is this a valid combo? If so, any ideas why this doesn't work?




public class AuthenticationTestServlet extends HttpServlet {

public void doGet(HttpServletRequest request, HttpServletResponse response)

throws ServletException, IOException {

response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);

response.setHeader("WWW-Authenticate", "BASIC realm=\"HomeTelco\"");

}

}


Thanx, PLA









As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.