LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2004, 06:20 PM   #1
ghow961
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
Apache/Tomcat : jsp = "No Host matches server name"


Using the rpm's supplied with Suse 9.1 pro I have apache 2.0.49 working fine on port 80, and tomcat 5.0.19 working fine on port 8080.
Using the jk2 connector I can get tomcat to serve applications through apache ok but jsp files do not work.

Setting this in apache's conf allows me to access tomcat's admin pages through apache's port 80:

Code:
<Location "/admin">
    JkUriSet worker ajp13:localhost:8009
</Location>
So the setup must be pretty close, and there is no problem with the two communicating,
but when I try to access jsp pages using this in apache's conf I get error 400: No Host matches server name

Code:
<Location "/*.jsp">
    JkUriSet worker ajp13:localhost:8009
</Location>
This is the same regardless of trying to access the page using "localhost", the computer name or it's ip address.

Any ideas would be much appreciated.
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any Apache-Tomcat "connector" setup tutorial that addresses this scenario??? sairndain Fedora 1 11-03-2005 05:37 AM
"my mysql server is not accesible through other host computers" pathak Linux - Newbie 3 10-06-2004 12:35 PM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? munkey Linux - Newbie 3 05-03-2004 04:30 PM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? help munkey Fedora 6 04-30-2004 06:04 PM
Apache Related: "http://host/~user" instead of "http://host/~user/" ? scrawl Linux - Software 2 05-19-2003 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration