How rewritten url in a css file

20 views
Skip to first unread message

David Hermouet

unread,
May 7, 2015, 5:42:26 AM5/7/15
to mod-pagesp...@googlegroups.com
Hello, I would like to know coment apply url rewriting rule in a CSS file.
Rewriting works in html files not hand in css files. 

Is this a bug or a configuraiton problem? 

My setup: 

ModPagespeedEnableFilters rewrite_domains 
ModPagespeedMapRewriteDomain test.example.fr v2test.examplefr 

I would like all the URLs (v2test.example.fr) in any type of file to be rewritten with the URL test.example.fr 

Thank you in advance

Jeff Kaufman

unread,
May 11, 2015, 10:14:51 AM5/11/15
to mod-pagespeed-discuss, Maksim Orlovich
PageSpeed currently doesn't handle this case, but you're right that it
would be good to add.
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mod-pagespeed-discuss/eade1f91-9131-47b6-9e77-41084aa16dbd%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Philippe Da Costa

unread,
May 11, 2015, 10:42:37 AM5/11/15
to mod-pagesp...@googlegroups.com, morl...@google.com
Hi Jeff,

any plan to release it ?

Thanks

Jeff Kaufman

unread,
May 11, 2015, 10:45:09 AM5/11/15
to mod-pagespeed-discuss, Maksim Orlovich
We're currently working on something similar, but I think it wouldn't
handle your case, sadly.
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mod-pagespeed-discuss/e1eda3ea-5999-4bb0-b136-186fbe93f4db%40googlegroups.com.

Jeff Kaufman

unread,
May 11, 2015, 10:58:17 AM5/11/15
to mod-pagespeed-discuss, Maksim Orlovich
Actually, it may be too soon to say that it doesn't handle this case,
seeing as I don't know what the case is exactly.

Could you paste the CSS rule that should be rewritten but isn't?
Reply all
Reply to author
Forward
0 new messages