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


  Search this Thread
Old 08-29-2006, 11:34 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 8

Rep: Reputation: 0
Make apache forward failed static requests to Tomcat

Hi everyone,

Pardon me and point me to the applicable thread if this had been asked before.

Here is my situation:

I want to configure apache to handle all the static contents (html, images, etc) and tomcat to handle all the dynamic contents (jsp, serlets, etc). I use apache2.2, tomcat5.5 and mod_jk. Right now, apache is serving all the static contents and forwarding all requests for dynamic contents to tomcat as expected. This would work fine if all the static contents are located at the apache side. It will not work if some of the static contents are not located at the apache side but are located on Tomcat's side.

My hope is that there's a way to configure either apache or tomcat or both to always look for the static contents at the apache side and then forward/redirect all failed requests to tomcat. Please help or point me to examples/tutorials on this.



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
LVS(UltraMonkey) Director does not forward requests fentisen Linux - Networking 1 03-27-2006 09:19 AM
Forward FTP Requests mitt Linux - Networking 7 04-08-2005 11:11 AM
Apache, forward requests to a vmware virtual machine Hube Linux - Software 2 09-02-2004 10:58 AM
forward all dns requests to one page Moszer Linux - Networking 4 05-25-2004 02:34 PM
Mod_Proxy (Apache) won't forward requests bentman78 Linux - Software 1 04-20-2004 09:49 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:25 PM.

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