Hello Tuncay -

On Wed, 12 Apr 2000, Tuncay MARGILIC wrote:
> 
> 
> Hello,
> 
> I need a rewrite statement to grep the username from
> '[EMAIL PROTECTED]' for accounting. Some users write their usernames
> like that but some of them don't.
> 

Use something like this:

        RewriteUsername s/^([^@]+).*/$1/

And have a look at the RewriteUsername sections in the manual.

hth

Hugh

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to