(RADIATOR) How to change user at domain.com.au to user at dom

Andy Dills andy at xecu.net
Sat Oct 19 22:31:25 CDT 2002


On Sun, 20 Oct 2002, mhobbs wrote:

> Hi
>
> Can I use a "RewriteUsername" to change
> user at cyberdomain.net.au to user at cbyer
>
> I currently using RewriteUsername s/^([^@]+).*/$1/
> to change from user at domain.com.au to just user
> for those dial-up customers who use there email address to log instead of
> they username
>
> But I'll need to change this or add an other Rewrite to do the above
> What perl expression do I need to use ?

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

> Also then can I change the rule RewriteUsername s/^([^@]+).*/$1/  to only
> strip
> user at a-certain-domain.com.au to user ? but not change user at domain.com.au any
> more

RewriteUsername s/^([^@]+)\@a-certain-domain.com.au.*/$1/

Andy

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Andy Dills                              301-682-9972
Xecunet, LLC                            www.xecu.net
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dialup * Webhosting * E-Commerce * High-Speed Access

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list