Current location: Hot Scripts Forums » Programming Languages » Everything Java » Apache Tomcat configuration


Apache Tomcat configuration

Reply
  #1 (permalink)  
Old 05-10-04, 09:16 AM
hr_shah82 hr_shah82 is offline
Newbie Coder
 
Join Date: May 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Apache Tomcat configuration

Hello guys, I am usind Linux base Apache 2 and tomcat 4.0.31
I have configured both ro communicate through mod_jk.
Now I want Apache to redirect index.html to jsp page of tomcat. I did it by writing Javascript in index.html but it is not my solution.
I want apache to call tomcat to serve for jsp pages.
so How can I configure Apache to call tomcat for serving jsp pages.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-10-04, 12:53 PM
stdunbar stdunbar is offline
Newbie Coder
 
Join Date: Jan 2004
Location: Superior, CO, USA
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Basically for each virtual host (or for the "main" host) you'll have something like:

Code:
JkMount /*.jsp ajp13
and, if your configuration warrants it:

Code:
JkMount /servlet/* ajp13
or something like that.

I also have

Code:
DirectoryIndex index.html index.jsp
so that I can have a default page for a directory in JSP instead of just HTML. This is all in your httpd.conf file for the Apache httpd server.



Quote:
Originally Posted by hr_shah82
Hello guys, I am usind Linux base Apache 2 and tomcat 4.0.31
I have configured both ro communicate through mod_jk.
Now I want Apache to redirect index.html to jsp page of tomcat. I did it by writing Javascript in index.html but it is not my solution.
I want apache to call tomcat to serve for jsp pages.
so How can I configure Apache to call tomcat for serving jsp pages.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Failure Message starting Apache thewulf Web Servers 24 11-30-10 09:24 PM
how can i run asp on apache web server sfaizanh Web Servers 2 01-31-04 08:27 AM
Installing Apache and Tomcat to serve JSP snaip JavaScript 0 12-13-03 11:30 AM
php_flag not working in Apache+Windows configuration MagnuM PHP 0 09-23-03 10:57 AM


All times are GMT -5. The time now is 12:34 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.