Needs help for virtual host creation using apache tomcat in windows


I am new to apache tomcat.I would like to create a virtual host in my server. I tried to create a virtual host named but it is not working properly.
[b]Steps i did for creating virtual host[/b]
Downloaded jdk1.5.0
configured jakarta-tomcat-5.0.28
Downloaded apache_2.2.3-win32-x86-no_ssl
Downloaded the MOD_JK connector

Added the into C:Program FilesApache Software FoundationApache2.2modules folder
Add the followinng line in the httpd.conf

LoadModule jk_module modules/

# Include mod_jk configuration file
Include conf/mod-jk.conf


DocumentRoot "C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/test"

# Options Indexes FollowSymLinks MultiViews
Options None
AllowOverride None
Order allow,deny
allow from all

ErrorLog logs/app1-error.log
CustomLog logs/app1-access.log combined
# Send ROOT app. to worker named app1
JkMount /* app1
JkUnMount /images/* app1
#RewriteEngine On
#RewriteRule ^/(images/.+);jsessionid=w+$ /$1

[b]mod-jk.conf has[/b]

# Load mod_jk module
# Specify the filename of the mod_jk lib
LoadModule jk_module modules/

# Where to find
JkWorkersFile conf/

# Where to put jk logs
JkLogFile logs/mod_jk.log

# Set the jk log level [debug/error/info]
JkLogLevel info

# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"

# JkOptions indicates to send SSK KEY SIZE
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"

JkMount /* loadbalancer

[b] file has[/b]
# Define Node1

workers.tomcat_home=C:/Program Files/Apache Software Foundation/Tomcat 5.0
workers.java_home=C:/Program Files/Java/jdk1.5.0

# Load-balancing behaviour
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!