in reply to Parsing variables from one file to another.
When i try to run the template through, it throws the following error:[% IF ep == cms; INCLUDE cmsproxy; BLOCK cmsproxy; # Proxy onto application server ProxyPass /CMSBackOffice http://[% vmname %]:80 +80/CMSBackOffice ProxyPassReverse /CMSBackOffice http://[% vmname %]:80 +80/CMSBackOffice ProxyPass /CMSResources[% resources %] http://[% v +mname %]:8080/CMSResources[% resources %] ProxyPassReverse /CMSResources[% resources %] http://[% v +mname %]:8080/CMSResources[% resources %] END; ELSE; # Proxy onto application server ProxyPass /CMSBureauWebService/CMSBureauWS http:/ +/[% vmname %]:8080/CMSBureauWebService/CMSBureauWS ProxyPassReverse /CMSBureauWebService/CMSBureauWS http:/ +/[% vmname %]:8080/CMSBureauWebService/CMSBureauWS END; %]
file error - parse error - /home/www/bin/files/conf/sites/ssl.conf.template line 236-241: unexpected token (/CMSBackOffice)
|
|---|