|CUSTOM| token positioning in template

VAmericana

New member
Joined
Oct 30, 2015
Messages
1
Hi everyone,

I am trying to use tokens in my "Custom httpd configuration" for example:

Code:
|?DOCROOT=/path|

But the problem is that I'm using custom template files:

Code:
/usr/local/directadmin/data/templates/custom/virtual_host2*.conf

Where |CUSTOM| token is below everything else, just before closing of virtualhost. So when I try to set any kind of token in my "Custom httpd configuration" it doesn't change anything because of |CUSTOM| token positioning.

So I was wondering is there any kind of way to overcome the positioning problem without changing |CUSTOM| token position?
 
Hello,

I guess, no, you should change the position of the |CUSTOM| token or use other 4 additional tokens, in original templates they come in the following order:


... skipped...
|CUSTOM1|
... skipped...
|CUSTOM|
... skipped...
|CUSTOM2|
... skipped...
|CUSTOM3|
... skipped...
|CUSTOM4|
... skipped...
 
Back
Top