Re: There must be some way to specify exceptions for MapRewriteDomain?

10 views
Skip to first unread message

Shawn Ligocki

unread,
May 13, 2013, 1:14:35 PM5/13/13
to mod-pagesp...@googlegroups.com


On Sat, May 11, 2013 at 8:26 PM, Mahmoud Al-Qudsi <mqu...@gmail.com> wrote:
To cut right to the point, is there any way to use a re2 expression to filter what gets rewritten and what doesn't?

LoadFromFile quite intelligently uses re2 to specify allowed/disallowed resources. MapRewriteDomain uses wildcards.

The problem is that we have resources specified like this:

<img src="/dynamicscript.php?foo=bar" />

Where dynamicscript.php checks for client auth cookie before returning the content. This will obviously break when replaced with 


But I can't find any way of *sanely* preventing this (I can, of course, use a list of wild cards that match everything except dynamicscript.php, but that's just crazy talk).

Is it possible or should I file an issue for this on the code tracker?

Thanks,

Mahmoud

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages