[squid-users] How to set up Squid reverse proxy for facebook?

2010-02-13 Thread fulan Peng
rying to use Squid to cache all subdomains of facebook in https. Any hint or suggestion will be appreciated! Fulan Peng

[squid-users] Squid reverse proxy, is there anything similar to mod_proxy_html in Apache?

2010-02-03 Thread fulan Peng
;s mod_proxy_html for reverse proxy url rewriting? I really cannot understand. Thanks a lot! Fulan Peng

[squid-users] Absolute url links bypass Squid

2010-01-30 Thread fulan Peng
, right? Unfornately, I am not. How to fix this problem for Squid? I failed to try with Apache mod_proxy and mod_proxy_html. And no luck with Squid+Squirm. Thanks a lot! Fulan Peng

[squid-users] How to configure Squid to proxy a web site with external links to itself?

2010-01-25 Thread fulan Peng
://thiswebsite.com is an external web site and quit and disappeared. How can we get Squid work for these web sites? Thanks a lot! Fulan Peng

[squid-users] How to make squid work for name based virtual web sites?

2009-12-19 Thread fulan Peng
We know lots of web sites hosted more than one web site. That means one IP,multiple host names. The web server go to different directories based on different domain names. Now how squid proxy them? if one IP hosted 2 web sites: a.www.company.com and b.www.company.com, I want to set up squid to pr

[squid-users] Squid proxy server -->SSH TUNNEL --> Squid SSL reverse proxy server: How TO?

2009-08-16 Thread fulan Peng
Hi, Squid users! I know how to set up Squid proxy server and SSH tunnel for another computer which has access to the Squid server. After that, I have to set up my browser in proxy mode. I do not want this. I do not want to set up my browser. I want to access some specific site as normal, say, http

[squid-users] squid 3.1: How to setup a Squid SSL reverse proxy for a parent SSL Squid proxy?

2009-08-10 Thread fulan Peng
Hi, I have a Squid reverse proxy running with SSL support. People can access it with https://domainA.com. No problem. Now I want to set up another Squid proxy server to proxy it with SSL support. That means https://domainA --> https://domainB. My configuration file is similar like this for the

[squid-users] How to proxy a parent Squid SSL proxy?

2009-07-03 Thread fulan Peng
Hi, Everybody! I have a Squid ssl proxy server(3.0.16Stable) running listening 8443. Now I want to set up another Squid to proxy it again with SSL between them. The second Squid serves http requests to browsers. Now I use my browser and try to connect the second Squid, it won't work. I made self

Re: [squid-users] How to make Squid to cache JSP redirected pages?

2009-03-15 Thread fulan Peng
be a reverse proxy is terrible. Thanks! On Sun, Mar 15, 2009 at 4:36 AM, Amos Jeffries wrote: > fulan Peng wrote: >> >>  Hi, >> When I want to cache a Tomcat site which its index.jsp has a command >> to redirect the browser to another pages, Squid is getting lost, the >

[squid-users] How to make Squid to cache JSP redirected pages?

2009-03-14 Thread fulan Peng
Hi, When I want to cache a Tomcat site which its index.jsp has a command to redirect the browser to another pages, Squid is getting lost, the browser shows the redirected page but the port number is wrong. Is there any way to handle this situation? I am using Squid 3.0 and setting up a reverse pro

[squid-users] Question on redirector and Squid accelerator mode

2007-08-04 Thread fulan Peng
Hi, I have setup Squid 3.0 PRE6 working in accelerator mode with SSL and I setup Squirm tested working. When I click a link on the web page, it goes to the original address instead of my rewritten address. This is what I want: I have set up Squid to accelerate a web site, say, yahoo.com with anoth

[squid-users] Squid 3 PRE6 SSL client authentication

2007-07-31 Thread fulan Peng
Hi, I have made Squid 3 PRE6 woking in SSL without client authentication. It works fine. Then I combined the cert file and key file into a pkcs12 file and inputed into the brower and add the CA file into squid.conf as clientca=. I open my Squid with MS IE, Squid error log said it won't return certi

Re: [squid-users] How can I become a

2007-07-24 Thread fulan Peng
You can start and stop Squid as user squid on port 8080 or 8443, then use a firewall to forward all request from 80 or 443 to 8080 or 8443. This way, you are safe because you do not have to run Squid as root. You can run Squid as root but how about some hackers get into your system? If you run Squ

Re: [squid-users] How to get a SSL certificate for Squid 3.0

2007-07-22 Thread fulan Peng
guess because the CA problem, the browser may not return its certificate to Squid to fail the SSL browser authentication. On 7/22/07, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On sön, 2007-07-22 at 20:04 -0400, fulan Peng wrote: > > > I checked many SSL certificate providers. They

[squid-users] How to get a SSL certificate for Squid 3.0

2007-07-22 Thread fulan Peng
Hi, I am using sefl-signed certificate to make SSL connection with Browsers. The browser has a warning dialog box complaining my CA not authorized by the browser. I was thinking to authenticate the browser to get rid of this warning dialog box. But I failed. Now I am thinkg to use NCSA to authoriz

[squid-users] Squid 3.0 SSL client authentication

2007-07-18 Thread fulan Peng
Hi, I have made Squid 3.0 SSL working without client authentication. Now I want to assure the client. I want client install the certificate I send to him and import to his browser. Other browsers without this certificate will never be able to get my server. Now, any browser will have a warning di

[squid-users] How to configure Squid with SSL for a virtual hosting server?

2007-07-16 Thread fulan Peng
Hi, All! I have configured Squid 3.0 PRE4 to be an accelelator to reverse proxy a web site, say, www.google.com with a registered domain name, say www.google-proxy.com I am running squid as non-root user at port 8443. I use firewall to redirect 443 request to 8443. So browsers can https://www.goo

[squid-users] 1000GB traffic 100MB site is free for you to install the Squid proxy for your web site.

2006-11-10 Thread fulan Peng
If you have a home computer and will turn on all the time, you can install a Squid proxy for my web site. This way, your customer will access your web with a 100MB speed, and my customer will access my web site with a dynamic IP address. Also I will offer you a jabber instant message, chat server

Re: [squid-users] Fwd: Reverse Proxy for HTTPS

2006-09-26 Thread fulan Peng
It does not make sense you encrypt the web pages twice. Why cannot cache a regular page at http port then send out with SSL? I seems to me it won't work with double encryption.You can try it. If you use Windows, 2.6S3 works. Any revision will work on Unix. The following script is to make certific

Re: [squid-users] File Descriptor

2006-09-24 Thread fulan Peng
I was struggling with this problem a couple of month ago. I am not sure how I get through. Are you working with Windows? If so you better get off with msys. You use Cygwin instead. I have one compiled and running on XP. I never got problem on Linux and FreeBSD. On Windows, it is 2.6S3, any revisio

Re: [squid-users] Reverse proxy HTTPS port on 8443

2006-09-19 Thread fulan Peng
I show you a workable configuration file for 2.6 S3. You can replace those things. http_port 127.0.0.1:80 defaultsite=ddint.org https_port 443 cert=c:\squid\etc\cert.pem key=c:\squid\etc\key.pem defaultsite=zyzg.org.ru https_port 9001 cert=c:\squid\etc\cert.pem key=c:\squid\etc\key.pem defaultsi

[squid-users] Re: Squid server

2006-09-06 Thread fulan Peng
I worked out Squid on FreeBSD, Linux and Windows. I also set up ejabberd server and sip server on FreeBSD and Windows and Linux. Now I need work them all out. My site is at http://breakevilaxis.org Squid for web proxy. Jabber for IM proxy. SIP server for SIP phone proxy. On 9/6/06, Jakob Curdes

Re: [squid-users] Errors during make

2006-09-01 Thread fulan Peng
all SSL certificates and files. If you are not interest in accelerator mode with SSL, then I would not help you. I do not have time to learn other mode. Fulan Peng. On 9/1/06, Robert Shatford <[EMAIL PROTECTED]> wrote: Hey guys, this is my first post on this forum, so I would like to say

[squid-users] Pre-Configured Squid 2.6S3 accelerate mode with SSL on Windows.

2006-08-31 Thread fulan Peng
Hi, I have configured Squid 2.6 STABLE3 NT accelerate mode with SSL on Windows. If you want to do the same thing, you can download my package and replace some web site then it will be yours. All you have to do is to replace the backend website name in the /squid/etc/squid.conf file. After you unzi

Re: [squid-users] Invalid Request.Squid2.6S3 accelerate with SSL on Windows

2006-08-30 Thread fulan Peng
Sorry, it found to be a type error. Squid -k only check grammar. No spelling error. Now I can access more than one backends on https port. This is the conf file. Now the http won't work. I think I can fix it. Thank you so much! Fulan Peng. http_port 127.0.0.1:80 vhost vport https_por

Re: [squid-users] Invalid Request.Squid2.6S3 accelerate with SSL on Windows

2006-08-30 Thread fulan Peng
zyzg.org.ru cache_peer_access breakevilaxis allow breakevilaxis.org visible_hostname ddint.org coredump_dir c:/squid/var/cache On 8/30/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: ons 2006-08-30 klockan 18:05 -0400 skrev fulan Peng: > Yes. It's working now after I added defaultsite= &g

Re: [squid-users] Invalid Request.Squid2.6S3 accelerate with SSL on Windows

2006-08-30 Thread fulan Peng
serve one backend? Is this right? I have to use Windows service to run multiple instances of Squid so that the clients can access multiple backend servers via my Squid. Is this right? I have to recompile Squid with--win32-service. Is this right? Thanks a lot! Fulan Peng. On 8/30/06, Henrik Nordstr

[squid-users] Invalid Request.Squid2.6S3 accelerate with SSL on Windows

2006-08-30 Thread fulan Peng
Hi, I use Cygwin compiled every revision of Squid 2.6 and 3.0. None of them work with SSL setup accelerate. In 3.0, the error is the known bug: too many open files. In 2.6S3, the error for https is "invalid request". Http works fine. The following are my squid.conf file and some section of the lo

[squid-users] What configuration should I set up?

2006-08-29 Thread fulan Peng
y the clients. What is the setup I should set up. I think it is the accelerate mode or reverse proxy mode. If I am wrong, please point it out. I never set up a transparent mode. My understanding is that I have to set up reverse proxy mode. Fulan Peng.

Re: [squid-users] Invalid request error of Squid 2.6 PRE3 https on Windows.

2006-08-28 Thread fulan Peng
Sorry, I am using Gmail. This is gmail problem. I posted the message. It did not show up. This is the configuration file. http_port 127.0.0.1:80 vhost vport cache_peer zyzg.org.ru parent 80 0 originserver https_port 443 cert=/usr/squid/etc/cert.pem key=/usr/squid/etc/key.pem cache_peer breakevila

Re: [squid-users] Invalid request error of Squid 2.6 PRE3 https on Windows.

2006-08-28 Thread fulan Peng
Here is my squid.conf file. I compiled squid 2.6PRE3 on Cygwin ssl enabled on Windows XP SP2. I copied all neccessary dll's into c:\windows\system32 then run the program in Windows. Also I tried run Squid within Cygwin, the same:Invalid request. The http is OK. http_port 127.0.0.1:80 vhost vport

Re: [squid-users] Invalid request error of Squid 2.6 PRE3 https on Windows.

2006-08-28 Thread fulan Peng
http_access deny CONNECT !SSL_ports http_access allow all http_reply_access allow all icp_access allow all visible_hostname ddint.org coredump_dir c:/squid/var/cache On 8/28/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On Mon, 2006-08-28 at 08:07 -0400, fulan Peng wrote: > Hi, > I h

[squid-users] Invalid request error of Squid 2.6 PRE3 https on Windows.

2006-08-28 Thread fulan Peng
Hi, I have compiled Squid2.6PRE3 in Cygwin on Windows XP SP2. The http is ok but there is a "invalid request" error for the https accelorator mode. Here are a section of the log file. cbdataLock: 0x10227870 2006/08/28 07:56:32| parseHttpRequest: Client HTTP version 1.1. 2006/08/28 07:56:32| pars

[squid-users] Invalid request error of Squid 2.6 PRE3 on Windows.

2006-08-27 Thread fulan Peng
also compile the 3.0 PRE4. The Squid won't start because of the known bug of the maximum number of file descritor problem. If you know there is a patch to let me run any ways that will be great! Thanks! Fulan Peng. Here is my squid.conf and some text cut from the log. http_port 127.0.0.1:80 v

[squid-users] How to compile Squid 3.0 for Windows?

2006-08-25 Thread fulan Peng
Hi, I am looking Squid on Windows with SSL and accelorator. I tried all 2.6 binaries and all of them have an error of "no OPENSSL_Applink error". I did not try the 2.5 version. I tried to compile 2.6 and 3.0 all reversions on msys-mingw, and all of them have a compiling error. The following is th

[squid-users] How to just cache the default index.html page only?

2006-07-30 Thread fulan Peng
Hi, I just want to cache up the web site only its index.html page. Then the rest I will return back to its original web site. Can I do this? Do I have to have rewrite the web page so that re-direct the links to its original web site? Thanks a lot! Fulan Peng. On 7/30/06, Nicola Giosmin <[EM

[squid-users] Re: How to fix the TCP_MISS 302 678 problem--Image can not be cached.

2006-07-03 Thread fulan Peng
Yes. I am reading their terms of use. They do not allow others to use their image icons. Now I understand. I have to get permission from this site in order to cache it. They have something anti-cache code probably. Thanks a lot! Fulan Peng. On 7/3/06, Henrik Nordstrom <[EMAIL PROTECTED]>

[squid-users] How to fix the TCP_MISS 302 678 problem--Image can not be cached.

2006-07-03 Thread fulan Peng
b.com". After I click OK, many image .gif files can not display. In the access_log, it says TCP_MISS 302 678 First_UP_Parent. I cannot understand why Squid did not cache this images since they can be catched in regular browsers. Thanks a lot! Fulan Peng.

[squid-users] Re: How to set up a reverse proxy server over SSL?

2006-07-03 Thread fulan Peng
l Message- From: Henrik Nordstrom <[EMAIL PROTECTED]> To: fulan Peng <[EMAIL PROTECTED]> Cc: squid-users@squid-cache.org; Visolve Squid <[EMAIL PROTECTED]> Sent: Mon, 03 Jul 2006 07:34:54 +0200 Subject: Re: [squid-users] How to set up a reverse proxy server over SSL? mån 2006-07

[squid-users] How to set up a reverse proxy server over SSL?

2006-07-02 Thread fulan Peng
Hi, I have compiled Squid 3.0 pre-release4 with its default. Then I changed one line from http-access deny all to http-access allow all and tried out the non-ssl forward proxy server worked. Now I want to set up with SSL and a reverse proxy server. Could you please help to tell where is a tutor