tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ian.bl...@dsl.pipex.com
Subject Re: filter IP for a webapps through mod_jk
Date Fri, 24 Aug 2007 13:27:37 GMT

Hi,

Try removing <Connector port="8080" ...> element from your tomcat server.xml



Quoting Sebastien Moretti <Sebastien.Moretti@unil.ch>:

> Hi,
> 
> after some days of tries and research I was able to run properly tomcat 
> (5.5.23), apache 2 and mod_jk for the same machine.
> 
> So now, my webapps are reachable with both URLs:
> http://www.fake.com/webapps
> or
> http://www.fake.com:8080/webapps
> 
> 
> As I understood mod_jk, apache/mod_jk looks in localhost (tomcat and 
> apache are on the same machine for me) to reach tomcat.
> 
> Thus, I would like to deny access for webapps through port 8080, but not 
> for all tomcat !
> With it, only http://www.fake.com/webapps could be available.
> 
> 
> I tried to add a context rule for webapps but webapps is no more reachable.
>      <Valve className="org.apache.catalina.valves.RemoteAddrValve"
>          allow="127.0.0.1"/>
> 
> 
> How can I do ?
> Thanks
> 
> -- 
> S├ębastien Moretti
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


-- 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message