[squid-users] FW: failure notice

From: Dimitry Gavrilov <dimitry@dont-contact.us>
Date: Fri, 15 Jul 2005 14:41:59 -0700

Hi,

 

I have openBSD 3.6, Squid 2.5 and Jesred installed and working fine.

 

However, the following rewrite rule is not working properly and since there
are not a lot of documentation available, I need your help.

 

The following rule does process .* symbol, but not \1.

 

regexi ^http://subdomain\.their_domain\.com/results\.aspx?form=get&q=.*$
http:

//www.my_domain.com/results.php?q=\1

 

What I want it to do is this:

 

Redirect http://subdomain.their_domain.com/results.aspx?form=get
<http://subdomain.their_domain.com/results.aspx?form=get&q=question>
&q=question to http://www.domain.com/results.php?q=question

 

Instead, it redirects to http://www.domain.com/results.php?q=/1

 

 

Please help!

 

Thanks!

Dimitry
Received on Fri Jul 15 2005 - 15:42:20 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT