Re: Tomcat with squid username/password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



HI,

  If it is an squid proxy then you can bypass the tomcat server from the squid using two steps.

1) using   url_regex   in squid

2) you can  masquerade that particular tomcat server ip using iptables on the squid box  using iptables.

Regards,

Lingu

On Thu, Sep 11, 2008 at 8:28 AM, Harry Sukumar <hsukumar@xxxxxxxxxxx> wrote:

Hi,

 

I am trying to help my friend on this

 

 

--------------------------------------------------------------------------

Hi,

I have an application deployed on tomcat 5.5 with java 1.6.0_07.

Occasionally the application needs to connect through our proxy to the
outside to collect patches.

I've added the following options to the JAVA_OPTS and restarted tomcat.

-Dhttp.proxyUser =username
-Dhttp.proxyPassword =password
-Dhttp.proxyHost=proxy.company.com.au
-Dhttp.proxyPort=3128

Using snoop on the squid proxy I can see the requests, but the
username/password combinations are not being sent and the tomcat
application receives a 407/DENIED message.

Is there a reason the username/password are not being sent? Our squid
proxy uses both NTLM and basic authentication.

thanks

 

Harry

 

 


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux