Nope. I was shooting for inside a realm:

<Realm xyz.com>
    Rewrite ......            # a rewrite rule that will change username
into
                                    # [EMAIL PROTECTED]
</Realm>

The purpose is to append the correct realm onto a username before its
sent to the accounting database... otherwise I won't be able to tell
'bob' in one realm from 'bob' in another when it comes time to total up
the bills :)

-Steve


> Hi Steve,
>
>
> maybe you wanna put the "DefaultRealm" inside your client clause.  it
> should put a realm for usernames without one.
>
> <Client xxx.xxx.xxx.xxx>
>        Secret ....
>        DefaultRealm your.realm.here
> </Client>
>
>
> Regards,
> Darwin
>
> "Steven E. Ames" wrote:
> >
> > Silly Novice (Perl) Question:
> >
> > What's a good rewrite rule to append a realm on a string _only_ if
it
> > doesn't already contain one?
> >
> > -Steve
> >
> > ===
> > Archive at http://www.thesite.com.au/~radiator/
> > To unsubscribe, email '[EMAIL PROTECTED]' with
> > 'unsubscribe radiator' in the body of the message.
>
> --
> .._.,+=~`^"-.,,.-"^'~=+,.__.,+=~`^"-.,,.-"^'~=+,.__.,+=~`^"-,,
>
> darwin a. bawasanta  [EMAIL PROTECTED]  pgp-id: 0x367CADAC
> SKYinternet incorporated philippines    http://www.skyinet.net
> mobile: +63 917.322.6299    pager: ec# 963589    marsma|ow@IRC
> .._.,+=~`^"-.,,.-"^'~=+,.__.,+=~`^"-.,,.-"^'~=+,.__.,+=~`^"-,,
> "Thousands of geniuses live and die undiscovered either
>                     by themselves or by others."  - Mark Twain
>


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to