tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spam <s...@rockhopper.org>
Subject Re: Apache + tomcat +ssl
Date Wed, 14 Jan 2004 12:25:09 GMT
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@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message