Hi all,
I upgrated my Apache Web server from version 2.2 to 2.4.
Unfortunately, I have an error with mod_substitution: this regex is no longer working and Apache is crashing because of carriage return:
Substitute "s/[\n\t\r]//i"
code:
<Location /concerto/Concerto.htm>
AddOutputFilterByType SUBSTITUTE text/html
# remove the comments in the page that starts with "//Only" because it causes problems if we remove the return carriage
Substitute "s|//Only(.*)||i"
# remove all the line feed and tabs because the substitute command on Apache does not support multi-lines regex
Substitute "s/[\n\t\r]//i"
</Location>
Any help please?
Thank you in advance.
Likemax