Steve Snodgrass wrote:
> 
> This has something to do with my earlier question about JWS to JServ
> migration, but hopefully it more specific and easier to answer.
> 
> I'm having trouble with the Alias directive and servelets.  I thought I
> actually had this working at one point, but it appears I was mistaken.
> 
> For example, in Apache configuration:
> 
> Alias /mantix/mxprocesslogin /servlets/com.mx.webtime.servlets.MxProcessLogin
> 
> Attempts to access /mantix/mxprocesslogin fail:
> 
> [Wed Apr 28 15:59:54 1999] [error] [client 169.144.6.27] File does not exist:
> /servlets/com.mx.webtime.servlets.MxProcessLogin
> 
> However, directly accessing /servlets/com.mx.webtime.servlets.MxProcessLogin
> works perfectly.
> 
> What's going on here?

module loading order (mod_jserv running before mod_alias), maybe. Look
in the FAQs.

> 
> On a semi-related question, is there any way to alias a /servlets URL to a
> normal file outside the /servlets tree.  For example, what I want to do is:
> 
> Alias /servlets/mxtimesheet.html /mantix/mxtimesheet.html
> 
> However, this does not appear to work since JServ intercepts all references
> to the /servlets tree and turns them into servlet names.
> 

use mod_rewrite for this one.

Jean-Luc


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

Reply via email to