tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Moretti <Sebastien.More...@unil.ch>
Subject Re: Re: filter IP for a webapps through mod_jk
Date Wed, 29 Aug 2007 13:55:56 GMT
ian.blenk@dsl.pipex.com a écrit :
> Hi,
> 
> Try removing <Connector port="8080" ...> element from your tomcat server.xml
> 

I tried several things but it seems to be the simple one.

I would like to deny access for my webapps through port 8080 and to 
allow access for other webapps via 8080 port.
But I will allow access for webapps I need via apache only.

Thanks

>> 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


Mime
View raw message