Problem with variable in Apache Template

1 post / 0 new
#1 Mon, 07/20/2009 - 05:23
manus

Problem with variable in Apache Template

If I add:

${IF-PARENT_WEB} ScriptAlias /cgi-bin/ ${PARENT_HOME}/cgi-bin/ ${ELSE-PARENT_WEB} ScriptAlias /cgi-bin/ ${HOME}/cgi-bin/ ${ENDIF-PARENT_WEB}

To my apache "Directives and settings for new websites" It doesn't replace any parent variable, so I get:

${IF-PARENT_WEB} ScriptAlias /cgi-bin/ ${PARENT_HOME}/cgi-bin/ ${ELSE-PARENT_WEB} ScriptAlias /cgi-bin/ /home/mydomain/domains/mysubdomain/cgi-bin/ ${ENDIF-PARENT_WEB}