Thanks for the reply! That (almost) worked. I had to put IgnoreCase above the URL piece. Not sure why but tried it several times and it was very consistent.
Strangely the IgnoreCase doesn't seem to be documented on the man page. My man page is identical to this http://linux.die.net/man/8/pound. Which I suppose was for a previous version. But anyways this works. IgnoreCase 1 URL ".*myaccount.*" Thanks again for the help! Andy -----Original Message----- From: Joe Gooch [mailto:[email protected]] Sent: Monday, October 11, 2010 12:17 PM To: [email protected] Subject: [Pound Mailing List] RE: Service Redirect failing Assuming Pound 2.5 or newer: URL ".*myaccount.*" IgnoreCase 1 Joseph Gooch Sapphire Suite Product Manager K12 Systems, Inc. (866) 366-9540 Confidentiality Notice: This e-mail transmission may contain confidential and legally privileged information that is intended only for the individual named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail message is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that proper delivery can be arranged, and please delete the message from your mail box. > -----Original Message----- > From: Andrew Barringer [mailto:[email protected]] > Sent: Monday, October 11, 2010 10:36 AM > To: [email protected] > Subject: [Pound Mailing List] Service Redirect failing > > All, > > > > I need to redirect any request that contains "myaccount" or > "registration" upper or lower case to https. > > > > I've tried several variations for the URL param but everything hits > the > catch-all listener everytime. > > > > Here's the basic listener config. > > > > #redirect to Secure if myaccount or registration > > ListenHTTP > > Address 174.78.x.x > > Port 80 > > Service > > URL "myaccount" ####### What goes here? ########## > > Redirect "https://www.bsecure.com" > > End > > End > > > > #secure > > ListenHTTPS > > Address 174.78.x.x > > Port 443 > > Cert "/etc/pound/bsecure.pem" > > xHTTP 1 > > Service > > BackEnd > > Address 172.x.x.x > > Port 80 > > End > > End > > End > > > > #catch-all > > ListenHTTP > > Address 174.78.x.x > > Port 80 > > xHTTP 1 > > Service > > BackEnd > > Address 172.x.x.x > > Port 80 > > End > > End > > End > > > > -- > To unsubscribe send an email with subject unsubscribe to > [email protected]. > Please contact [email protected] for questions. -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions. -- To unsubscribe send an email with subject unsubscribe to [email protected]. Please contact [email protected] for questions.
