Some of the expressions in Server Side Include no longer work after I upgraded the server from version 2.2 to 2.4, giving me a series of errors:
AH01337: could not parse expr "$ SERVER_NAME = abc" in /var/www/err/ft.html.var: Parse error near '$'
AH01337: Could not parse expr "! $ REDIRECT_STATUS" in / var / www / err /tp.html: Analysis error near $$
AH01337: Failed to parse expr "$ HTTP_HOST = / ^ ([az] {2} \.) abc \ .com / & & $ SERVER_NAME = abc \ .com" in / var /www/err/tp.html: parsing error next to '$'
I understand that this involves some constant effort to use only one option, called ap_expr , for all configuration directives. However, after reading the documentation, I still don't know how to convert part of my old code to reflect this change:
I would be grateful if anyone could indicate how this would be changed to start me. Thank!
source
share