#1  
Old 8th July 2008, 23:04
MlungwSR MlungwSR is offline
Junior Member
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Unhappy mod_jk

Hi,

Can someone show me how to configure mod_jk in such a way that u don't have to include a website folder on the url, like in the following;

http://localhost/jsp-examples

in the above url my website folder is jsp-examples sitting in Tomcat 5, I'm running Apache 2 with mod_jk

here is a piece of my code

#####################################
#workers.property file
workers.tomcat_home=$CATALINA_HOME
workers.java_home=$JAVA_HOME
ps=/
worker.list=default

worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
worker.default.lbfactor=1
#####################################


and in the httpd.conf I have included the following line;

JkMount /jsp-examples default

but I cannot access my website using http://localhost only, everytime I need to add jsp_examples

please assist.
Reply With Quote
Sponsored Links
Reply

Bookmarks

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.