Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos

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 /IfModulen
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]




RE: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Turner, John

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 /IfModulen
 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]




RE: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos
When I used the configuration
JkMount / ajp13
JkMount /* ajp13
I received the following error message

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time 
the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Apache/1.3.27 Server at admged.ufu.br Port 80


And when I used the configuration
  JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

the navigator tried to do the download of the file. jsp

In case he feels the will can without the smallest problem to pass IP, user's name and 
password for you to take a look in the general configuration.e
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]




RE: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos

Excuse me, but I ordered a wrong information.
When I used the configuration
JkMount / *. jsp ajp13
JkMount / servlet / * ajp13
the navigator didn't try to do the download of the. jsp, but I obtained the following 
error message.
HTTP Status 500 - No Context configured to process this request

type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context configured to process 
this request) that prevented it from fulfilling this request.

Apache Tomcat/4.1.18
I believe that the download attempt was problem of chache of the navigatorb
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]




Re: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos
Lajos,
You want me to order for the list or directly for the e-mail?

*** REPLY SEPARATOR  ***

On 24/01/2003 at 11:13 Lajos Moczar wrote:

E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/
Hi -

Can you send me your server.xml? Also, The JkMount's below should be:

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

you have an extra space between the / and the pattern. But that still
may not work - I'll have to see your server.xml to see what Context
you defined.

Regards,

Lajos


Sebastião Carlos Santos wrote:
 Excuse me, but I ordered a wrong information.
 When I used the configuration
 JkMount / *. jsp ajp13
 JkMount / servlet / * ajp13
 the navigator didn't try to do the download of the. jsp, but I obtained
the following error message.
 HTTP Status 500 - No Context configured to process this request


 type Status report
 message No Context configured to process this request
 description The server encountered an internal error (No Context
configured to process this request) that prevented it from fulfilling this
request.


 Apache Tomcat/4.1.18
 I believe that the download attempt was problem of chache of the
navigatorb
 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]




--



Lajos Moczar
   
 Open Source Support, Consulting and Training
   
 Cocoon Developer's Handbook
  (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

_  _
   / \ /
  /___\  /
 / \   /

  http://www.galatea.com -- powered by AzSSL


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

b
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]




Re: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Lajos Moczar
Do it direct to my email.

Lajos


Sebastião Carlos Santos wrote:

Lajos,
You want me to order for the list or directly for the e-mail?	

*** REPLY SEPARATOR  ***

On 24/01/2003 at 11:13 Lajos Moczar wrote:



E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/
Hi -

Can you send me your server.xml? Also, The JkMount's below should be:

JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

you have an extra space between the / and the pattern. But that still 
may not work - I'll have to see your server.xml to see what Context 
you defined.

Regards,

Lajos


Sebastião Carlos Santos wrote:

Excuse me, but I ordered a wrong information.  
When I used the configuration   
JkMount / *. jsp ajp13  
JkMount / servlet / * ajp13  
the navigator didn't try to do the download of the. jsp, but I obtained

the following error message.  

HTTP Status 500 - No Context configured to process this request






type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context


configured to process this request) that prevented it from fulfilling this
request.




Apache Tomcat/4.1.18  
I believe that the download attempt was problem of chache of the

navigatorb


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]





--



  Lajos Moczar
 
   Open Source Support, Consulting and Training
 
   Cocoon Developer's Handbook
(www.amazon.com/exec/obidos/tg/detail/-/0672322579)

  _  _
 / \ /
/___\  /
   / \   /

http://www.galatea.com -- powered by AzSSL


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


b
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]





--



   Lajos Moczar
  
Open Source Support, Consulting and Training
  
Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

   _  _
  / \ /
 /___\  /
/ \   /

 http://www.galatea.com -- powered by AzSSL


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