If your JkMount statement has "/admged" in it, then your URL must have that in it, as well. JkMount works by matching URLs. If your URL does not have "/admged" in it, the JkMount that you have will not match.
Try changing your JkMounts to: JkMount / ajp13 JkMount /* ajp13 OR JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 If you use "/*" then every request will be sent to Tomcat, which makes Apache sort of redundant unless you are using it for other reasons. John > -----Original Message----- > From: "Sebasti�o Carlos Santos" [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 24, 2003 1:25 PM > To: Tomcat Users List > Subject: Tomcat + Apache + Virtual Host (new) > > > > Lajos, > I installed the Apache 1.3.27 again together with > Tomcat 4.1.18 through > of mod_jk.so, as we talked yesterday, using LoadModule, > AddModule and > JkWorkersFile in httpd.conf. > After the installation of the Apache + Tomcat + mod_jk > I tested the installation in > http://admged.ufu.br/examples/jsp and everything worked > accordingly the expected. > I made the modifications, that I will list below, in > server.xml of the > Tomcat and in httpd.conf, but when I try to access URL > http://www.admged.ufu.br/teste.jsp the > navigator tries to do the download of the file jsp instead of > interpreting the file. > > server.xml > > <Host name="admged.ufu.br" docBase="/web"> > <Context path="/admged" docBase="admged" debug="0"> > </Host> > > httpd.conf > <VirtualHost admged.ufu.br> > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /web/admged > ServerName admged.ufu.br > ServerAlias www.admged.ufu.br > JkMount /admged ajp13 > JkMount /admged/* ajp13 > </VirtualHost> > > Detail: I commented on the instructions JkMount /examples > ajp13 JkMount /examples/* ajp13 > in the block <IfModule mod_jk.c> </IfModule>n > Sebasti�o Carlos Santos > Oracle Database Administrator > Universidade Federal de Uberl�ndia - UFU > Gratifica��o de Est�mulo � Doc�ncia - GED > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
