httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomcat User6 <SPA...@DIGITAS.COM>
Subject [users@httpd] httpd.conf file configuration for <VirtualHost></VirtualHost>
Date Mon, 21 Jul 2008 21:46:00 GMT


I am having a problem in configuring the <VirtualHost></VirtualHost> tab in
httpd.cong file fro apache web server. I have my application deployed on
Tomcat 6.0 server with below configuration in server.xml.

<Host name=""
  unpackWARs="true" autoDeploy="true"
  xmlValidation="false" xmlNamespaceAware="false">
  <Valve className="org.apache.catalina.valves.AccessLogValve"

The application is deployed at Tomcat's webapps directory
"/usr/local/apache-tomcat-6.0.16/webapps" under roller directory. 

My website uses the apache server so first when I typed
"" on web browser the action will go to
Tomcat server to run application. Each request is made on apache server and
and requested to tomcat server.

My apache server's httpd.conf file's configuration is as below:

# NameVirtualHost
        DocumentRoot /usr/local/apache-tomcat-6.0.16/webapps
        DirectoryIndex index.jsp 
        ErrorLog logs/forum_error_log
        <Directory / >
            Options FollowSymLinks
            AllowOverride all
            Order allow,deny
            Allow from all

	JkMount /*.jsp wrkr
        JkMount /*.do  wrkr
        JkMount /*.action wrkr

my problem is when I typed at browser as
"" then as it is running on Tomcat it
works fine. each and every actions and links are working fine. but when I
typed in ""  or
"" at browser then as it is running on
apache server and redirecting all requests to tomcat the links are not
working. The first page loaded same for both the requests but links on first
page is not working on apache server i.e. working on tomcat server.

I am pretty much sure that its a problem with configuration with  httpd.conf
file for <VirtualHost></VirtualHost>. If you help me out with this, this
will be  a great help.

Thank you in advance.

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message