Server templates and scripting

1 post / 0 new
#1 Wed, 01/11/2006 - 13:58

Server templates and scripting

i was wondering if there is a full list of availabe scrip commands for the server templates? what i like to do is the following similiar to e. g.

${IF-MAIL} Email domain: ${DOM} SMTP server: mail.${DOM} POP3 server: mail.${DOM} Mail login: ${USER} Mail password: ${PASS}


but for the weblizer section, i would like to add there the option if a stat dir. is password protected or not and then pass on the login/password, depending if the option is set or not.

${IF-WEBALIZER} Webalizer log reporting: Enabled Web statistics: http://www.${DOM}/stats/ ${ELSE-WEBALIZER} Webalizer log reporting: Disabled ${ENDIF-WEBALIZER}

any ideas?