SSI conditional expression problem

  NationalAcrobat 11:29 14 Dec 05

I'm trying to use the following SSI conditional expression

!--#if expr="${QUERY_STRING} = /^page\=([a-zA-Z0-9_]{4,})\;lang\=([0-2])$/" -->
!--#set var="page" value="$1" -->
!--#set var="lang" value="$2" -->
!--#endif -->

to test if env variable QUERY_STRING matches given regular expressions, something like 'page=main;lang=1' etc. If it does, then capture matches into backreferences $1 (page) and $2 (lang). However, it seems to me that the parentheses () are matched literally instead, like \( and \).. Is there any workaround to use backreferences succesfully?

  NationalAcrobat 09:50 15 Dec 05

This problem seems to relate with Apache server software. I'm on server which has Apache/1.3.27 (Unix) installed. Someone told me that there's no problem with Apache 2.

Does anyone have more specific information about that?

This thread is now locked and can not be replied to.

How to get Windows 10 for free | How to install Windows 10: There is still a way to avoid paying…

1995-2015: How technology has changed the world in 20 years

Alex Chinneck’s giant ice cube Christmas tree at Kings Cross

Apple rumours & predictions 2017: The iPhone 8, new iPads, and everything else you should expect fr7…