A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Joined: Sep 13, 2003
Oct 12, 2007 14:16:00
I need some help regarding the NameVirtualHost.
Following are the things I have completed.
1) I installed Apache 2.2 webserver and
2) I am able to access the without using port by using
Now I have IP Address which is registered with a DNS name. By typing that DNS name,
i need to load the welcome file.
say for an example my IP is 10.11.1.1 and registered with abcd.abc.com .
If I type
then it should load the URL
I have configurated the NameVirtualHost but if I tyep
it says BAD Request.
So, I have to give full URL
to access the application.
Following is my virtualHost configuratino in httpd.conf file
< VirtualHost 10.11.1.1 >
DocumentRoot "C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\GVL"
JkMount /*.jsp wrkr
JkMount /servlet/* wrkr
JkMount /*.do wrkr
JkMount /*.css wrkr
JkMount /*.* wrkr
< /VirtualHost >
Please let me know how do I make it by using DNS name
and where I am making mistake.
It is sorta covered in the
JavaRanch Style Guide
Virtual Host with Apache 2 and Tomcat 4.1
Apache 2.0.53 + Tomcat 5.5.7 integration on Windows using mod_jk
How to create a multiple tomcat instances in windows?
Apache/Tomcat URL Mapping
DNS + Apache + Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014