[% WRAPPER 'master_templates/master.tmpl' theme="yui" app_key="apache_mod_userdir_tweak" -%] [% IF data.webserver_runs_as_user %]
[% locale.maketext('[asis,mod_userdir] is disabled') %]
[% locale.maketext("Web server processes on this system currently run as the user. For security reasons, the system disabled [asis,mod_userdir]. Any changes that you make in this interface will not take effect until you enable [asis,mod_userdir]. To use [asis,mod_userdir], you must disable [list_and,_1] and recompile [asis,EasyApache].", ["mod_ruid2", "mod_itk", "mod_passenger"]) %]
[% END %]

[% locale.maketext('[asis,Apache httpd]’s [asis,mod_userdir] makes [asis,URL]s like “[_1]” resolve to the indicated user’s (for example, the user “[_2]”’s) primary web virtual host.', 'http://example.com/~fred', 'fred') %]

[% locale.maketext('In the above scenario, the transferred data counts against the bandwidth limit for the user that owns “[_1]”, not against “[_2]”’s bandwidth limit. This is often an undesirable behavior.', 'example.com', 'fred') %]

[% locale.maketext('WHM’s [asis,mod_userdir Protection] feature addresses this problem by restricting [asis,mod_userdir] to [asis,URL]s whose users own the [asis,URL]’s domains.') %]

[% locale.maketext("Enable [asis,mod_userdir] Protection") %] [% FOREACH d IN data.userdir_domains %] [% END %]
[% locale.maketext("Host") %] [% locale.maketext("Exclude Protection") %] [% locale.maketext("Additional Users") %]
[% d.domain %] ([% d.user %])
[% END #wrapper -%]