LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2008, 03:20 PM   #1
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Minor Apache, Tomcat problem...!


Hi,

I've got an older Slackware 9.1 installation running Apache 1.3 and Tomcat 4.1. I managed to get both servers running and working fine. Such that Apache intercepts all requests to localhost:80 and Tomcat handles requests at localhost:8080.

The thing is, I am able to get Tomcat to handle Java Server Pages just fine provided I always use localhost:8080. I want Apache to be able to handle JSP pages to. I am not sure how to get Apache linked up with Tomcat such that when it receives a JSP request it'll automatically redirect the request to Tomcat. I am under the understanding that this should be a trival issue if I add a mod to the apache to support Tomcat and jsp requests.

Would any body know precisely what it is that I have to do to get this working properly.

My best guess is that I make a addition to the /etc/apache/httpd.conf file:
Code:
# By default, all external Apache modules are disabled.  To enable a particular
# module for Apache, make sure the necessary packages are installed.  Then
# uncomment the appropriate Include line below, save the file, and restart
# Apache.  Note that some modules may need additional configuration steps.  For
# example, mod_ssl requires a site certificate which you may need to generate.
#
# Lastly, if you remove a module package, be sure to edit this file and comment
# out the appropriate Include line.

# ==> mod_php configuration settings <==
#
# PACKAGES REQUIRED:  openssl-solibs (A series) and/or openssl (N series),
#                     mysql (AP series), gmp (L series), and apache (N series)
#
#Include /etc/apache/mod_php.conf

# ==> mod_ssl configuration settings <==
#
# PACKAGES REQUIRED:  apache (N series) and openssl (N series)
#
#Include /etc/apache/mod_ssl.conf
Any and all help will be greatly appreciated!

Thanks again,

- Perry
 
Old 01-31-2008, 05:32 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
There's some info that may help here at http://www.linuxquestions.org/questi...4/#post3037027
 
Old 02-01-2008, 08:50 AM   #3
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Found an excellent resource!

Thought you might like to know about it!

Coreservlets

- Perry
 
Old 02-17-2008, 10:36 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
Thanks for the link - did you get Apache/Tomcat running the way that you needed to?
 
Old 02-22-2008, 07:33 PM   #5
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Original Poster
Rep: Reputation: 30
Smile

It turned out to be a good learning experience for me. I've put off knowing about Tomcat for far too long.

How I wish JBoss were as easy to live with as Tomcat. Tomcat 6 is treating me pretty good so far...

- Perry
 
  


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
Problem with jdk tomcat apache me4linux Linux - General 1 02-05-2007 10:08 AM
problem in configuring Tomcat with Apache ambuj Linux - Software 2 04-19-2004 09:02 AM
Apache and Tomcat Configuration Problem inspiration Linux - Software 0 04-19-2004 01:46 AM
tomcat apache problem..please help Sridhar Guntur Linux - Software 3 10-08-2002 10:44 AM
Apache, Tomcat problem with mod_jk WaveyDave Linux - Software 0 09-20-2001 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration