8. Rewriting user names Previous topic Parent topic Child topic Next topic

You can change the User-Name attribute in each request by using the RewriteUsername parameter. This allows you to apply separate rewriting rules to the User-Name:
The parameter is a Perl substitution regular expression that is applied to the User-Name attribute in the request. If you do not know how to write Perl substitution regexps, you should consult a Perl programmer. At Trace level 4, you can see the result of each separate rewrite for debugging purposes.
You can have any number of RewriteUsername parameters. The rewrites will be applied to the user name in the same order that they appear in the configuration file.
This feature can be very useful in a variety of circumstances, for example