1

I have following directive in MPS config:

ModPagespeedLoadFromFile "^https?://www.(e|i)zi?aro(v|w)k(y|i).(cz|sk|pl)/static/" "/var/www/eZarovky/production/public/static/" 

This RegExp should match all variation of our domains, eg.

https://www.eziarovky.sk
https://www.ezarovky.cz

etc, but it does not. According to PECL regex tester, it should match, however it does not. With direct mapping, like following, everything is working.

ModPagespeedLoadFromFile "https://www.ezarovky.cz/static/" "/var/www/eZarovky/production/public/static/" 

How this RegExp should look like, please ?

Ivan
  • 195
  • 1
  • 2
  • 8

1 Answers1

0
ModPagespeedLoadFromFileMatch "^https?://www.(e|i)zi?aro(v|w)k(y|i).(cz|sk|pl)/static/" "/var/www/eZarovky/production/public/static/"

Should do.

anantkpal
  • 26
  • 1
  • Yes, meanwhile I used it, but your answer is correct :) Just forgot to write it here.. – Ivan Oct 16 '14 at 19:26