Search squid archive

FW: failure notice

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

 




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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux