Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Apache + tomcat +ssl

Spam

2004-01-14

Replies:

I guess if you put the JkMount inside <virtual host 172.16.16.10:80> ,
the JkMount is only valid for port 80.
Put JkMount outside any <virtual host ...> should make it valid for all
ports (included port 443).
Whatever it looks around httpd.conf misconfiguration.

Try this:

 <IfModule mod_jk.c>
 JkLogLevel   debug
 JkWorkersFile  C:/usr/TMS/AppServer/Resource/workers.properties
 JkLogFile   C:/usr/TMS/AppServer/logs/mod_jk.log
 JkMount     /appserver/* ajp13
 </IfModule>

  NameVirtualHost 172.16.16.10:80
  <virtual host 172.16.16.10:80>
  servername ...
  .....
  </virtualhost>

rather than:

  NameVirtualHost 172.16.16.10:80
  <virtual host 172.16.16.10:80>
  servername ...
  .....
  JkMount ...
  </virtualhost>




Omkar Joshi wrote:

> Yes,
>
> I successfully reach static pages (not redirected to tomcat, served
> directly by apache) from https://myserver.com/, no problem with that
>
> also http://myserver.com/index.jsp   works fine,
>
>
> problem with https://myserver.com/index.jsp
>
> error :
>
> Object not found!
> The requested URL was not found on this server. If you entered the URL
> manually please check your spelling and try again.
> If you think this is a server error, please contact the webmaster
> Error 404
>
> configuration:
> --------------------------------------------------
> httpd.conf
>
> NameVirtualHost 172.16.16.10:80
> <virtual host 172.16.16.10:80>
> servername ...
> .....
> JkMount ...
> </virtualhost>
>
>
> All settings according to
>
> http://johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html
>
> _________________________________________________________________
> Get head-hunted by 10,000 recruiters.
> http://go.msnserver.com/IN/35984.asp Post your CV on naukri.com today.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.