HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/webmin/virtual-server/help/tmpls.html
<header>Server Template</header>

A server template defines default settings for new domains, or for features
added to existing domains. Almost all of the text fields and boxes below allow
you to use variables which will be substituted based on the virtual server's
setting at the time the template is used. Some of the more useful variables
are :<p>
<table>
<tr> <td><tt><b>${DOM}</b></td>
<td>The domain name, such as <tt>foo.com</tt></td> </tr>
<tr> <td><tt><b>${PREFIX}</b></td>
<td>The first part of the domain name, like <tt>foo</tt></td> </tr>
<tr> <td><tt><b>${USER}</b></td>

<td>The user that owns the domain, such as <tt>foo</tt></td> </tr>
<tr> <td><tt><b>${IP}</b></td>
<td>The IP address assigned to the virtual server, such as <tt>192.168.1.1</tt></td> </tr>
<tr> <td><tt><b>${HOME}</b></td>
<td>The domain user's home directory, such as <tt>/home/foo</tt></td> </tr>
<tr> <td><tt><b>${UID}</b></td>
<td>The system user ID of the domain owner user, such as <tt>502</tt>.</td></tr>

</table>
In addition, conditional blocks like <i>$IF-MAIL...$ENDIF-MAIL</i> and <i>$IF-WEB...$ELSE-WEB...{$ENDIF-WEB}</i> may be used.<p>

<footer>