473,379 Members | 1,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Apache 2.2 & Tomcat 5.5

I'm trying to configure an apache 2.2 and tomcat 5.5 setup on Windows XP. I'm using mod_jk 1.2.25, which is working. I've also setup mod_rewrite, which is also working, but not with addresses that are located within a tomcat webapp.

Here's what I have configured in my httpd.conf (I'm not sure if this is at all the correct way to do it since I'm new at this and many of the articles out there give contradicting information. So, the JkOptions, among other things, may or may not be correct)

Expand|Select|Wrap|Line Numbers
  1. #
  2. # Mod_jk module config for tomcat 5.5
  3. #
  4. <IfModule mod_jk.c>
  5.     JkWorkersFile conf/workers.properties
  6.     JkLogFile logs/mod_jk.log
  7.     JkLogLevel info
  8.     JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
  9.     JkOptions +ForwardURIProxy +ForwardKeySize +ForwardURICompat +ForwardDirectories
  10.     JkRequestLogFormat "%w %V %T"
  11.  
  12.     JkMount /* workertomcatmodjk
  13.     JkMount /mywebapp/* workertomcatmodjk
  14.  
  15.     SetEnvIf Request_URI "/phpmyadmin*" no-jk
  16.     SetEnvIf Request_URI "/phpMyAdmin*" no-jk
  17.  
  18.  
  19.     <Location /*/WEB-INF/*>
  20.         AllowOverride None
  21.         deny from all
  22.     </Location>
  23.  
  24. </IfModule>
I have configured nothing for Tomcat for getting mod_jk to work.

Any ideas? Thanks :)
Aug 15 '07 #1
1 3729
+ForwardURIxxx are mutually exclusive. See http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html, section "forwarding". ForwardURIProxyShould be the correct one for your case, delete ForwardURICompat.
Sep 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Alexandr Molochnikov | last post by:
Hello, I've spent a few days trying to get Apache and Tomcat work together via JK module. First I followed the following HOWTO link: http://www.johnturner.com/howto/winxp-howto.html and...
0
by: Erwan | last post by:
Hi, we have a big problem with our Apache / tomcat production server. Characteristics are : aapche : httpd-2.0.40-21.5 tomcat : these versions were tried without success :4.1.18, 4.1.27, 5.0.12...
0
by: Kevin Sagon | last post by:
I am running a J2EE Web App under Tomcat 4.1 with Apache 2.0 proxying requests. Everything is configured and working appropriately however I ran into a problem after configuring J2EE Form...
5
by: Grant Collins | last post by:
Hi I am writing a web based application as part of a small project that I am undertaking using servlets beans and jsp. I already have one servlet - bean - jsp page working and I have written...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
1
by: citnamor | last post by:
Hello, I'm trying to access a webservice which runs on our SOAP Server (Apache Tomcat) with Windows 2000 Advanced Server. I simply added the webreference local copy of wsdl file into dotNet...
0
rsrinivasan
by: rsrinivasan | last post by:
Hi All, When i run my JSP program, ihave the following exception. How i solve this problem? HTTP Status 500 - ...
0
by: pedjacar | last post by:
Hello, I have the following problem - when whitespace character (e.g %20) is added to the URL of a .jsp page, the Apache web server does not recognize that it is a URL pattern that is mounted to...
2
by: ramprakashjava | last post by:
sorry still that error exist , how to avoid this deprecated method overriding in my netbeans ! In Bundled tomcat log it shows Dec 30, 2009 9:03:45 PM...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.