Re: [squid-users] URL Rewrite for https via Squidguard

2016-01-09 Thread Darren
Hi Thanks Marcus I have been hacking my own branch of Squidguard so I can add support for the SNI (I hope) How would I get the peek SNI output to the url_rewriter? I am a bit of a peek new comer. Sounds like there is some hope and a possible way forward. regards Darren B. Sent from

Re: [squid-users] URL Rewrite for https via Squidguard

2016-01-09 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 10.01.16 1:36, Marcus Kool пишет: > > > On 01/09/2016 09:49 AM, Darren wrote: >> Hi >> >> Thanks Marcus >> >> I have been hacking my own branch of Squidguard so I can add support for the SNI (I hope) >> >> How would I get the peek SNI output to

Re: [squid-users] URL Rewrite for https via Squidguard

2016-01-09 Thread Marcus Kool
On 01/09/2016 09:49 AM, Darren wrote: Hi Thanks Marcus I have been hacking my own branch of Squidguard so I can add support for the SNI (I hope) How would I get the peek SNI output to the url_rewriter? using url_rewrite_extras I am a bit of a peek new comer. Sounds like there is some

Re: [squid-users] URL Rewrite for https via Squidguard

2016-01-09 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 09.01.16 15:45, Marcus Kool пишет: > > > On 01/09/2016 05:07 AM, Darren wrote: >> Hi >> >> I am trying to hack squidguard to allow me to redirect users attempts to connect to blocked https enabled sites. >> >> Some sites are allowed and the bulk

Re: [squid-users] URL Rewrite for https via Squidguard

2016-01-09 Thread Marcus Kool
On 01/09/2016 05:07 AM, Darren wrote: Hi I am trying to hack squidguard to allow me to redirect users attempts to connect to blocked https enabled sites. Some sites are allowed and the bulk are not. Currently I can see the Connect details being handed to SG for processing and if I change

[squid-users] URL Rewrite for https via Squidguard

2016-01-08 Thread Darren
Hi I am trying to hack squidguard to allow me to redirect users attempts to connect to blocked https enabled sites. Some sites are allowed and the bulk are not. Currently I can see the Connect details being handed to SG for processing and if I change this to return a redirect to make it point

[squid-users] URL rewrite and POST body

2013-11-06 Thread WorkingMan
1) Is the POST body request preserved when using url_rewrite_program? Based on my test it seems to be lost. If it's lost is it easy to modify SQUID to preserve that (or maybe an option to enable that)? 2) Can URL be rewritten in content adaptation like eCAP (or ICAP)? Just wondering. 3) what

[squid-users] URL rewrite and POST body

2013-11-06 Thread WorkingMan
1) Is the POST body request preserved when using url_rewrite_program? Based on my test it seems to be lost. If it's lost is it easy to modify SQUID to preserve that (or maybe an option to enable that)? 2) Can URL be rewritten in content adaptation like eCAP (or ICAP)? Just wondering. 3) what

Re: [squid-users] URL rewrite and POST body

2013-11-06 Thread Amos Jeffries
On 6/11/2013 12:37 p.m., WorkingMan wrote: 1) Is the POST body request preserved when using url_rewrite_program? Based on my test it seems to be lost. If it's lost is it easy to modify SQUID to preserve that (or maybe an option to enable that)? It should be preserved. Only headers portion

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-24 Thread Amos Jeffries
On 24/02/2012 11:52 a.m., Roman Gelfand wrote: Hi Amos, I could be wrong, but I understood from your several posts that this type of configuration is not recommended (either due to security issues or performance, I don't remember exactly). Is that right? *redirect*, (using deny_info or

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-23 Thread Roman Gelfand
Hi Amos, I could be wrong, but I understood from your several posts that this type of configuration is not recommended (either due to security issues or performance, I don't remember exactly). Is that right? Thanks, On Tue, Feb 21, 2012 at 7:29 AM, Amos Jeffries squ...@treenet.co.nz wrote: On

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-21 Thread Fried Wil
Hi Amos, Thanks for your very good explaination. I wanna to specify all i want to need : https://webmail.domain.foo/ -- https://EXCHANGE_IP/owa/ https://webmail.domain.foo/owa/ -- https://EXCHANGE_IP/owa/ https://webmail.domain.foo/rpc/ -- https://EXCHANGE_IP/rpc/

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-21 Thread Fried Wil
On Tue, Feb 21, 2012 at 12:26:11PM +1300, Amos Jeffries wrote: - Proper HTTP *redirect* using 3xx status messages should work fine. But Squid needs to be configured to handle both the before and after URL when received from the client. Exchange only needs to handle the after URI. To

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-21 Thread Amos Jeffries
On 21/02/2012 11:21 p.m., Fried Wil wrote: On Tue, Feb 21, 2012 at 12:26:11PM +1300, Amos Jeffries wrote: I have this error on my access.log 1329819182.985 0 CLIENT_IP TCP_DENIED/302 340 GET https://webmail.domain.foo/ - NONE/- text/html 1329819183.011 0 CLIENT_IP TCP_MISS/404 1530 GET

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-21 Thread Fried Wil
On Wed, Feb 22, 2012 at 01:29:33AM +1300, Amos Jeffries wrote: On 21/02/2012 11:21 p.m., Fried Wil wrote: On Tue, Feb 21, 2012 at 12:26:11PM +1300, Amos Jeffries wrote: I have this error on my access.log 1329819182.985 0 CLIENT_IP TCP_DENIED/302 340 GET https://webmail.domain.foo/ -

[squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-20 Thread Fried Wil
Hello Guys, I'have a problem with a Squid 3.1.6 as reverse proxy for an exchange usage ... (rpc not compatible with apache2). I would like to redirect the / to /owa. How can i do that ? thx guys This is my configuration of squid.conf just for OWA Access. $ https_port SQUID_IP:443 accel

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-20 Thread Eliezer Croitoru
On 20/02/2012 17:59, Fried Wil wrote: the simple way is to use a redirection page on the ows web server. change the index.html page on the / . some sources for that: http://www.web-source.net/html_redirect.htm http://www.quackit.com/html/html_redirect.cfm

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-20 Thread Marcus Kool
For HTTP is receives the full URL but for HTTPS it only receives the domainname. The URL rewriter feature was designed to rewrite HTTP-based URLs and cannot rewrite HTTPS-URLs. Marcus Fried Wil wrote: Hi Guys, Thx @Eliezer for reply. I know redirection page, thx :), but i want to use

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-20 Thread Amos Jeffries
On 21.02.2012 04:59, Fried Wil wrote: Hello Guys, I'have a problem with a Squid 3.1.6 as reverse proxy for an exchange usage ... (rpc not compatible with apache2). I would like to redirect the / to /owa. How can i do that ? thx guys Um. I've started with a bit of a side-track some major

Re: [squid-users] URL rewrite on Squid 3.1.6 as ReverseProxy for Exchange OWA

2012-02-20 Thread Amos Jeffries
On 21.02.2012 11:15, Marcus Kool wrote: For HTTP is receives the full URL but for HTTPS it only receives the domainname. No. This is reverse-proxy. The full request details are available. Amos

Re: [squid-users] url rewrite

2010-08-05 Thread John Doe
From: senthilkumaar2021 senthilkumaar2...@gmail.com Is there any possibility to pass urlpath rewritten urls to particular cache_peer in reverse proxy The urlpath rewritten is done using perl script .only path in url is re written Three identical web servers are running at different ip and

Re: [squid-users] url rewrite

2010-08-05 Thread John Doe
From: John Doe jd...@yahoo.com From: senthilkumaar2021 senthilkumaar2...@gmail.com Is there any possibility to pass urlpath rewritten urls to particular cache_peer in reverse proxy The urlpath rewritten is done using perl script .only path in url is re written Three identical web

[squid-users] url rewrite

2010-08-04 Thread senthilkumaar2021
Hi Is there any possibility to pass urlpath rewritten urls to particular cache_peer in reverse proxy The urlpath rewritten is done using perl script .only path in url is re written Three identical web servers are running at different ip and the url path is rewritten for some requests only

Re: [squid-users] url-rewrite digest authentication not working together

2010-07-17 Thread Henrik Nordström
ons 2010-07-14 klockan 12:07 -0700 skrev Mike Melson: Digest authentication fails because the uri=string in the Authorization header isn't rewritten so it doesn't match the POST URI created by url-rewrite-program. Is there a way to also rewrite the uri string in the Authorization header

[squid-users] url-rewrite digest authentication not working together

2010-07-14 Thread Mike Melson
Hi - I'm having trouble using squid plus a url-rewrite-program as a reverse proxy to a system that requires digest authentication. Digest authentication fails because the uri=string in the Authorization header isn't rewritten so it doesn't match the POST URI created by url-rewrite-program.

Re: [squid-users] url-rewrite digest authentication not working together

2010-07-14 Thread Amos Jeffries
On Wed, 14 Jul 2010 12:07:45 -0700 (PDT), Mike Melson mike.mel...@caringo.com wrote: Hi - I'm having trouble using squid plus a url-rewrite-program as a reverse proxy to a system that requires digest authentication. Digest authentication fails because the uri=string in the Authorization

Re: [squid-users] url-rewrite PHP script issue under Ubuntu 10.04

2010-06-03 Thread Nyamul Hassan
That was a good find! Amos, does that indeed help? It would be nice to know. Regards HASSAN On Tue, Jun 1, 2010 at 03:10, Horacio H. pokehor...@gmail.com wrote: Hi! Thanks Alexandre and Amos for your replies, together they pointed me into the right direction! Based on the the URLs

Re: [squid-users] url-rewrite PHP script issue under Ubuntu 10.04

2010-05-31 Thread Horacio H.
Hi! Thanks Alexandre and Amos for your replies, together they pointed me into the right direction! Based on the the URLs sent by Alexandre, I edited the /etc/php5/cli/php.ini file and tested different values for max_execution_time and max_input_time but none changed the PHP's script behavior.  

[squid-users] url-rewrite PHP script issue under Ubuntu 10.04

2010-05-25 Thread Horacio H.
Hi ! I was wondering if someone else has noticed a similar behavior: I wrote an URL-rewrite script with PHP as explained at http://wiki.squid-cache.org/ConfigExamples/PhpRedirectors. The script was running without complains under Squid 2.7.Stable9 and Ubuntu 9.04, then I upgraded Ubuntu to 10.04

Re: [squid-users] url-rewrite PHP script issue under Ubuntu 10.04

2010-05-25 Thread Amos Jeffries
On Tue, 25 May 2010 18:49:16 -0500, Horacio H. pokehor...@gmail.com wrote: Hi ! I was wondering if someone else has noticed a similar behavior: I wrote an URL-rewrite script with PHP as explained at http://wiki.squid-cache.org/ConfigExamples/PhpRedirectors. The script was running without

[squid-users] URL rewrite Help

2009-08-31 Thread Trevor Merrill
I am currently testing squid in a reverse proxy configuration with JBoss Portal backend servers. My goal is to phase out Apache and mod_proxy and gain some speed with squid. I have a basic reverse proxy configuration working for www.mydomain.com but I need to try and duplicate the following in

Re: [squid-users] URL rewrite Help

2009-08-31 Thread Youenn Boussard
Hello, You can try this in your squid.conf : url_rewrite_program iRedirector.py url_rewrite_children 1 url_rewrite_concurrency 20 url_rewrite_host_header off Get and customize this files (this is template file )

Re: [squid-users] URL rewrite Help

2009-08-31 Thread Henrik Nordstrom
mån 2009-08-31 klockan 09:21 -0700 skrev Trevor Merrill: I am currently testing squid in a reverse proxy configuration with JBoss Portal backend servers. My goal is to phase out Apache and mod_proxy and gain some speed with squid. I have a basic reverse proxy configuration working for

Re: [squid-users] URL Rewrite

2009-03-04 Thread howard chen
Hi, On Wed, Mar 4, 2009 at 4:30 AM, Chris Robertson crobert...@gci.net wrote: See the forceddomain argument to cache_peer. http://www.squid-cache.org/Doc/config/cache_peer/ Is it possible to force into an URL? e.g. *.example.com/* = http://www.google.com/aboutus

Re: [squid-users] URL Rewrite

2009-03-04 Thread Chris Robertson
howard chen wrote: Hi, On Wed, Mar 4, 2009 at 4:30 AM, Chris Robertson crobert...@gci.net wrote: See the forceddomain argument to cache_peer. http://www.squid-cache.org/Doc/config/cache_peer/ Is it possible to force into an URL? e.g. *.example.com/* = http://www.google.com/aboutus

[squid-users] URL Rewrite

2009-03-03 Thread howard chen
Hi Currently I am using dstdomain/cache_peer to rewrite url request from client to backend apache (so squid act as a reverse proxy) e.g. acl dstdomain_site dstdomain .example.com cache_peer 192.168.11.123 parent 80 0 no-query

Re: [squid-users] URL Rewrite

2009-03-03 Thread Chris Robertson
howard chen wrote: Hi Currently I am using dstdomain/cache_peer to rewrite url request from client to backend apache (so squid act as a reverse proxy) e.g. acl dstdomain_site dstdomain .example.com cache_peer 192.168.11.123

Re: [squid-users] Url Rewrite

2007-12-04 Thread Amos Jeffries
Almered Niklas wrote: Hi! We're trying to configure a Squid 2.6 stable 16 with two servers, a webserver with Linux and Apache and a web mapping server with Windows and IIS. A: application.example.com (Apache webserver on port 8081) B: map.example.com (IIS web mapping server o port 80) Now,

[squid-users] Url Rewrite

2007-12-03 Thread Almered Niklas
Hi! We're trying to configure a Squid 2.6 stable 16 with two servers, a webserver with Linux and Apache and a web mapping server with Windows and IIS. A: application.example.com (Apache webserver on port 8081) B: map.example.com (IIS web mapping server o port 80) Now, Squid is installed om the

Re: [squid-users] url rewrite and cache, which URL should be cached?

2007-10-15 Thread Henrik Nordstrom
On ons, 2007-10-10 at 10:20 +0200, Sylvain Viart wrote: the redirector returns: echo http://mes-test2.mydomain.com/js/mailbox.js; | perl t.pl !php! http://static-php/js/mailbox.js There should be no space between the urlgroup tag and the URL. Anything after the first space is ignored by

Re: [squid-users] url rewrite and cache, which URL should be cached?

2007-10-10 Thread Sylvain Viart
Hi Henrik, Henrik Nordstrom a écrit : On tis, 2007-10-09 at 17:47 +0200, Sylvain Viart wrote: Hi, I use a redirector on an accel proxy config. url_rewrite_program /etc/squid/redirector.pl url_rewrite_children 15 url_rewrite_concurrency 0 url_rewrite_host_header off It seems, that the

Re: [squid-users] url rewrite and cache, which URL should be cached?

2007-10-10 Thread Sylvain Viart
Hi, Found: Could it be associated with the urlgroup which somewhat hides the rewriting? Yes it is ! snip of the redirector, squid.conf unmodified while () { # filer rewriting not modified if(m[^http://$filer_host/] || m[^http://([^/]+)/(js/static_file|media|thumb)]) {

[squid-users] url rewrite and cache, which URL should be cached?

2007-10-09 Thread Sylvain Viart
Hi, I use a redirector on an accel proxy config. url_rewrite_program /etc/squid/redirector.pl url_rewrite_children 15 url_rewrite_concurrency 0 url_rewrite_host_header off It seems, that the url used to store the requested url is the orginal url, not the rewrited on. I would like to store

Re: [squid-users] url rewrite and cache, which URL should be cached?

2007-10-09 Thread Adrian Chadd
On Tue, Oct 09, 2007, Sylvain Viart wrote: Hi, I use a redirector on an accel proxy config. url_rewrite_program /etc/squid/redirector.pl url_rewrite_children 15 url_rewrite_concurrency 0 url_rewrite_host_header off It seems, that the url used to store the requested url is the

Re: [squid-users] url rewrite and cache, which URL should be cached?

2007-10-09 Thread Henrik Nordstrom
On tis, 2007-10-09 at 17:47 +0200, Sylvain Viart wrote: Hi, I use a redirector on an accel proxy config. url_rewrite_program /etc/squid/redirector.pl url_rewrite_children 15 url_rewrite_concurrency 0 url_rewrite_host_header off It seems, that the url used to store the requested url

Re: [squid-users] url rewrite problem

2007-10-02 Thread Keshava M P
you have to use a redirector and you have to include the url_rewrite_program and related directives in squid.conf. typicallly, url_rewrite_program=/path/to/yourredirectprogram/ url_rewrite_children=5 url_rewrite_concurrency=5 url_rewrite_host_header off Either you define the entries of internal

Re: [squid-users] url rewrite problem

2007-10-02 Thread Amos Jeffries
Srinivas B wrote: Hi All, is there any way I can redirect urls that are replaced by accelerated mode. I have something like http_port 8080 accel defaultsite=mysite.com Requests are replaced by host=mysite.com. I want to redirect some url based on original request (depending upon hostname).