Displaying 1 result from an estimated 1 matches for "apache2_phpmyadmin_url".
2012 Aug 04
1
string matching in erb template
Hi!
I am trying to match a string in an ERB template but for what ever reason 
it does not work.
 <% if has_variable?("apache2_phpmyadmin_url") && apache2_phpmyadmin_url != 
"" then %>
        ProxyPass /<%= apache2_phpmyadmin_url %>/ !
 <% end %>
The conditional works on has_variable? but the != "" is not getting 
evaluated. When the variable is set to "" than the Proxypass is s...