<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Squid Reverse proxy in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745986#M85945</link>
    <description>I have already done a reverse proxy with single server. Its working fine and authentication is doing by lotus notes. But i have two lotus notes server, and each one having different users, Then i added a redirection script also. I am attaching these files. pls find this and help me.&lt;BR /&gt;&lt;BR /&gt;thanks for the replies&lt;BR /&gt;&lt;BR /&gt;renjith nair</description>
    <pubDate>Fri, 10 Mar 2006 07:45:10 GMT</pubDate>
    <dc:creator>Renjith Nair</dc:creator>
    <dc:date>2006-03-10T07:45:10Z</dc:date>
    <item>
      <title>Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745979#M85938</link>
      <description>hi all,&lt;BR /&gt;&lt;BR /&gt;do any body know how to enable the reverse proxy feature for multiple web servers. In my setup there are 2 webmail servers. I had done it for a single webserver and its redirecting all the requests, but when i do it for multiple its giving me error.&lt;BR /&gt;&lt;BR /&gt;can anybody help me&lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Tue, 07 Mar 2006 06:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745979#M85938</guid>
      <dc:creator>Renjith Nair</dc:creator>
      <dc:date>2006-03-07T06:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745980#M85939</link>
      <description>Hi&lt;BR /&gt;Check this out:&lt;BR /&gt;Configuring Squid as Reverse Proxy (http accelerator) &lt;BR /&gt;&lt;BR /&gt;To set up Squid as an httpd accelerator, you simply configure the squid.conf file. Usually it is found in either /usr/local/squid/etc, when installed directly from source code, or /etc/squid when pre-installed on Red Hat Linux systems. The squid.conf file is used to set and configure all the different options for the Squid proxy server. As root open the squid.conf file in your favorite text editor. If the real web server runs on a separate machine than the Squid reverse proxy, edit the following options in the squid.conf file : &lt;BR /&gt;&lt;BR /&gt;http_port 80 # Port of Squid proxy &lt;BR /&gt;httpd_accel_host 172.16.1.115 # IP address of web server &lt;BR /&gt;httpd_accel_port 80 # Port of web server &lt;BR /&gt;httpd_accel_single_host on # Forward uncached requests to single host &lt;BR /&gt;httpd_accel_with_proxy on # &lt;BR /&gt;httpd_accel_uses_host_header off &lt;BR /&gt;&lt;BR /&gt;If the web server runs on the same machine where Squid is running, the web server daemon must be set to run on port 81 (or any other port than 80). With the Apache web server, it can done by assigning the line "Port 80" to "Port 81" in its httpd.conf file. The Squid.conf must also be modified to redirect missed requests to port 81 of the local machine : &lt;BR /&gt;&lt;BR /&gt;http_port 80 # Port of Squid proxy &lt;BR /&gt;httpd_accel_host localhost # IP address of web server &lt;BR /&gt;httpd_accel_port 81 # Port of web server &lt;BR /&gt;httpd_accel_single_host on # Forward uncached requests to single host &lt;BR /&gt;httpd_accel_with_proxy on # &lt;BR /&gt;httpd_accel_uses_host_header off &lt;BR /&gt;&lt;BR /&gt;We describe these options in greater detail. &lt;BR /&gt;&lt;BR /&gt;http_port 80 &lt;BR /&gt;&lt;BR /&gt;The option http_port specifies the port number where Squid will listen for HTTP client requests. If this option is set to port 80, the client will have the illusion of being connected to the actual web server. This options should always be port 80. &lt;BR /&gt;&lt;BR /&gt;httpd_accel_host 172.16.1.115 and httpd_accel_port 80 &lt;BR /&gt;&lt;BR /&gt;The options httpd_accel_host and httpd_accel_port specify the IP address and port number of the real HTTP Server, such as Apache. In our configuration, the real HTTP Web Server is on the IP address 172.16.1.115 and on port 80. &lt;BR /&gt;&lt;BR /&gt;If we are using the reverse proxy for more than one web server, then we must use the word virtual as the httpd_accel_host. Uncached requests can only be forwarded to one port. There is no table that associates accelerated hosts and a destination port. When the web server is running on the same machine as Squid, set the web server to listen for connections on a different port (8000, for example), and set the httpd_accel_port option to the same value. &lt;BR /&gt;&lt;BR /&gt;httpd_accel_single_host on &lt;BR /&gt;&lt;BR /&gt;To run Squid with a single back end web server, set httpd_accel_single_host option to on. Squid will forward all uncached requests to this web server regardless of what any redirectors or Host headers says. If the Squid reverse proxy must support multiple back end web servers, set this option to off, and use a redirector (or host table or private DNS) to map the requests to the appropriate back end servers. Note that the mapping needs to be a 1-1 mapping between requested and backend (from redirector) domain names or caching will fail, as caching is performed using the URL returned from the redirector. See also rewrites_host_header. &lt;BR /&gt;&lt;BR /&gt;httpd_accel_with_proxy on &lt;BR /&gt;&lt;BR /&gt;If one wants to use Squid as both an httpd accelerator and as a proxy for local client machines, set the httpd_accel_with_proxy to on. By default, it is off. Note however that your proxy users may have trouble reaching the accelerated domains, unless their browsers are configured not to use the Squid proxy for those domains. The no_proxy option can be used to direct clients not to use the proxy for certain domains. &lt;BR /&gt;&lt;BR /&gt;httpd_accel_uses_host_header off &lt;BR /&gt;&lt;BR /&gt;Requests in HTTP version 1.1 include a Host header, specifying the host name (or IP address) of the URL. This option should remain off in reverse proxy mode. The only time this option must be set to on is when Squid is configured as a Transparent proxy. &lt;BR /&gt;&lt;BR /&gt;It's important to note that acls (access control lists) are checked before this translation. You must combine this option with strict source-address checks, so you cannot use this option to accelerate multiple back end servers. &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Configuring Squid as Reverse Proxy for Multiple Domains (http accelerator) &lt;BR /&gt;&lt;BR /&gt;You can configure squid in an accelerator mode for multiple domains also. For example you can configure single squid machine for &lt;A href="http://www.abc.com," target="_blank"&gt;www.abc.com,&lt;/A&gt; &lt;A href="http://www.xyz.com," target="_blank"&gt;www.xyz.com,&lt;/A&gt; &lt;A href="http://www.lmn.com." target="_blank"&gt;www.lmn.com.&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Squid configuration &lt;BR /&gt;&lt;BR /&gt;httpd_accel_host virtual &lt;BR /&gt;&lt;BR /&gt;httpd_accel_port 80 (the web server port) &lt;BR /&gt;&lt;BR /&gt;httpd_accel_single_host off (It should be disabled when we are going to the reverse proxy for multiple servers) &lt;BR /&gt;&lt;BR /&gt;httpd_accel_uses_host_header on &lt;BR /&gt;&lt;BR /&gt;Note: When you compile Squid enable the Internal DNS option &lt;BR /&gt;&lt;BR /&gt;To set the reverse proxy for the domain &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.abc.com" target="_blank"&gt;www.abc.com&lt;/A&gt; 192.168.1.2 &lt;BR /&gt;&lt;A href="http://www.xyz.com" target="_blank"&gt;www.xyz.com&lt;/A&gt; 192.168.1.2 &lt;BR /&gt;&lt;A href="http://www.lmn.com" target="_blank"&gt;www.lmn.com&lt;/A&gt; 192.168.1.2 &lt;BR /&gt;&lt;BR /&gt;Let reverse_proxy server ip be 192.168.1.2 &lt;BR /&gt;&lt;BR /&gt;DNS entry in the reverse proxy server &lt;BR /&gt;&lt;BR /&gt;You need to configure Intranet DNS and Internet DNS. You can configure split DNS if you want both the DNS in same machine. Instead of Intranet DNS you can have domain entries in /etc/hosts. You have to configure squid with --disable-internal-dns to use /etc/hosts file lookup. &lt;BR /&gt;&lt;BR /&gt;Internal DNS entry &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.abc.com" target="_blank"&gt;www.abc.com&lt;/A&gt; IN A 172.16.1.2 &lt;BR /&gt;&lt;A href="http://www.xyz.com" target="_blank"&gt;www.xyz.com&lt;/A&gt; IN A 172.16.1.3 &lt;BR /&gt;&lt;A href="http://www.lmn.com" target="_blank"&gt;www.lmn.com&lt;/A&gt; IN A 172.16.1.4 &lt;BR /&gt;&lt;BR /&gt;Note: If you have compiled with disable internal dns, then add the entry in the /etc/hosts like &lt;BR /&gt;&lt;BR /&gt;172.16.1.2 &lt;A href="http://www.abc.com" target="_blank"&gt;www.abc.com&lt;/A&gt; &lt;BR /&gt;172.16.1.3 &lt;A href="http://www.xyz.com" target="_blank"&gt;www.xyz.com&lt;/A&gt; &lt;BR /&gt;172.16.1.4 &lt;A href="http://www.lmn.com" target="_blank"&gt;www.lmn.com&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Internal DNS entry &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.abc.com" target="_blank"&gt;www.abc.com&lt;/A&gt; 192.168.1.2 &lt;BR /&gt;&lt;A href="http://www.xyz.com" target="_blank"&gt;www.xyz.com&lt;/A&gt; 192.168.1.2 &lt;BR /&gt;&lt;A href="http://www.lmn.com" target="_blank"&gt;www.lmn.com&lt;/A&gt; 192.168.1.2 &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Cheers</description>
      <pubDate>Tue, 07 Mar 2006 06:52:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745980#M85939</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-03-07T06:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745981#M85940</link>
      <description>Hi,&lt;BR /&gt;   check out this whitepaper about reverse proxy using squid.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.visolve.com/beta/squid-vi/white-papers/ReverseProxy.htm" target="_blank"&gt;http://www.visolve.com/beta/squid-vi/white-papers/ReverseProxy.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Really, it is a good guide from ViSolve.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S</description>
      <pubDate>Tue, 07 Mar 2006 08:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745981#M85940</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-03-07T08:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745982#M85941</link>
      <description>I read that links earlier but iam having doubt still. Bcoz in my scenario there are two lotus notes servers in backend. So all the users coming to the rev. proxy should be authenticated. can we integrate the authentication in rev. proxy. how will the lotus notes redirect the client request back&lt;BR /&gt;&lt;BR /&gt;thanks for the response</description>
      <pubDate>Tue, 07 Mar 2006 08:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745982#M85941</guid>
      <dc:creator>Renjith Nair</dc:creator>
      <dc:date>2006-03-07T08:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745983#M85942</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Do u want squid to do the auth, or you want the req to go to lotus and auth is done ther...also what kind of auth scheme are u using???&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Mar 2006 09:52:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745983#M85942</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-03-07T09:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745984#M85943</link>
      <description>Hi,&lt;BR /&gt;    If you want squid to do it, there are four different authentication methods suported with squid. You can use anyone.&lt;BR /&gt;&lt;BR /&gt;Refer this link for more details;&lt;BR /&gt;&lt;A href="http://www.visolve.com/squid/squid30/externalsupport.html" target="_blank"&gt;http://www.visolve.com/squid/squid30/externalsupport.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S</description>
      <pubDate>Wed, 08 Mar 2006 00:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745984#M85943</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-03-08T00:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745985#M85944</link>
      <description>I'm not sure if the reverse proxy will do what you want. You need a connection persistence, so  when a client starts a session into one webmail server, the connection remains to the same webmail server during the session. If the connection is redirected to another server when doing another request, you will have an error.&lt;BR /&gt;&lt;BR /&gt;Persistence is handled by Linux Virtual Server (LVS).</description>
      <pubDate>Wed, 08 Mar 2006 06:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745985#M85944</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-03-08T06:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Squid Reverse proxy</title>
      <link>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745986#M85945</link>
      <description>I have already done a reverse proxy with single server. Its working fine and authentication is doing by lotus notes. But i have two lotus notes server, and each one having different users, Then i added a redirection script also. I am attaching these files. pls find this and help me.&lt;BR /&gt;&lt;BR /&gt;thanks for the replies&lt;BR /&gt;&lt;BR /&gt;renjith nair</description>
      <pubDate>Fri, 10 Mar 2006 07:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/squid-reverse-proxy/m-p/3745986#M85945</guid>
      <dc:creator>Renjith Nair</dc:creator>
      <dc:date>2006-03-10T07:45:10Z</dc:date>
    </item>
  </channel>
</rss>

