Re: (RADIATOR) Rewrite rules

2002-04-04 Thread Radiator Admin
This will remove begining & trailing whitespace RewriteUsername s/^\s+// RewriteUsername s/\s+$// - Original Message - From: "Paul Black" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 4:41 AM Subject: (RADIATOR) Rewrite rules

Re: (RADIATOR) Rewrite rules

2002-04-02 Thread Hugh Irvine
Hello Paul - You should get a copy of the Camel book (Programming Perl from O'Reilly) and do some experiments with regular expressions to get a feel for them. A RewriteUsername to strip spaces would look like this: RewriteUsername s/ //g this one strips the "@some.realm" from a usern

(RADIATOR) Rewrite rules

2002-04-02 Thread Paul Black
I'm still trying to make my rewrite rules do exactly what I want. What rule would I need to string leading white space from the username? Also what does the first rule shown below do? Regards. Paul >> >> RewriteUsername s/^([^@]+).*/$1/ >> RewriteUsername tr/A-Z/a-z/ === Archive at http://

Re: (RADIATOR) Rewrite rules

1999-04-15 Thread Mike McCauley
On Apr 15, 5:39pm, Jamie Orzechowski wrote: > Subject: (RADIATOR) Rewrite rules > PROBLEM! ... > > I am using the rewrite rules > > RewriteUsername s/^([^@]+).*/$1/ > RewriteUsername tr/A-Z/a-z/ > > it works fine and lets the user log in ... but i go and check my

(RADIATOR) Rewrite rules

1999-04-15 Thread Jamie Orzechowski
PROBLEM! ... I am using the rewrite rules RewriteUsername s/^([^@]+).*/$1/ RewriteUsername tr/A-Z/a-z/ it works fine and lets the user log in ... but i go and check my accounting radius server (another machine running livingston radius) and it has a START record for the user "MHz" which was