1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_pagespeed authorization and mapping for https sites using CDN?

Discussion in 'Server Configuration and Hosting' started by Amin Sabet, Nov 1, 2015.

  1. Amin Sabet

    Amin Sabet Well-Known Member

    From: https://gtmetrix.com/reports/www.mu-43.com/K5VWnaa7

    Re: https://www.mu-43.com/forums/

    Anyone know how to avoid this when using a CDN and mod_pagespeed with an https site?

    Here are my origin and mapping settings from pagespeed.conf:

    Code:
    ModPagespeedDomain https://www.mu-43.com
    ModPagespeedDomain https://www.talkemount.com
    ModPagespeedDomain https://www.fujixspot.com
    ModPagespeedDomain https://www.leicaplace.com
    ModPagespeedDomain https://www.photographerslounge.org
    ModPagespeedDomain https://www.foreverfilm.org
    ModPagespeedDomain https://mu43-236e.kxcdn.com
    ModPagespeedDomain https://talkemount-236e.kxcdn.com
    ModPagespeedDomain https://fujixspot-236e.kxcdn.com
    ModPagespeedDomain https://leicaplace-236e.kxcdn.com
    ModPagespeedDomain https://photolounge-236e.kxcdn.com
    ModPagespeedDomain https://foreverfilm-236e.kxcdn.com
    
    ModPagespeedMapOriginDomain "http://localhost" "https://www.mu-43.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://www.talkemount.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://www.fujixspot.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://www.leicaplace.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://www.photographerslounge.org"
    ModPagespeedMapOriginDomain "http://localhost" "https://www.foreverfilm.org"
    ModPagespeedMapOriginDomain "http://localhost" "https://mu43-236e.kxcdn.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://talkemount-236e.kxcdn.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://fujixspot-236e.kxcdn.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://leicaplace-236e.kxcdn.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://photolounge-236e.kxcdn.com"
    ModPagespeedMapOriginDomain "http://localhost" "https://foreverfilm-236e.kxcdn.com"
    ModPagespeedLoadFromFile "https://www.mu-43.com/data/" "/home/asabet/public_html/mu-43.com/data/"
    ModPagespeedLoadFromFile "https://www.mu-43.com/js/" "/home/asabet/public_html/mu-43.com/js/"
    ModPagespeedLoadFromFile "https://www.mu-43.com/styles/default/" "/home/asabet/public_html/mu-43.com/styles/default/"
    ModPagespeedLoadFromFile "https://www.talkemount.com/data/" "/home/asabet/public_html/talkemount.com/data/"
    ModPagespeedLoadFromFile "https://www.talkemount.com/js/" "/home/asabet/public_html/talkemount.com/js/"
    ModPagespeedLoadFromFile "https://www.talkemount.com/styles/default/" "/home/asabet/public_html/talkemount.com/styles/default/"
    ModPagespeedLoadFromFile "https://www.fujixspot.com/data/" "/home/asabet/public_html/fujixspot.com/data/"
    ModPagespeedLoadFromFile "https://www.fujixspot.com/js/" "/home/asabet/public_html/fujixspot.com/js/"
    ModPagespeedLoadFromFile "https://www.fujixspot.com/styles/default/" "/home/asabet/public_html/fujixspot.com/styles/default/"
    ModPagespeedLoadFromFile "https://www.leicaplace.com/data/" "/home/asabet/public_html/leicaplace.com/data/"
    ModPagespeedLoadFromFile "https://www.leicaplace.com/js/" "/home/asabet/public_html/leicaplace.com/js/"
    ModPagespeedLoadFromFile "https://www.leicaplace.com/styles/default/" "/home/asabet/public_html/leicaplace.com/styles/default/"
    ModPagespeedLoadFromFile "https://www.photographerslounge.org/data/" "/home/asabet/public_html/photographerslounge.org/data/"
    ModPagespeedLoadFromFile "https://www.photographerslounge.org/js/" "/home/asabet/public_html/photographerslounge.org/js/"
    ModPagespeedLoadFromFile "https://www.photographerslounge.org/styles/default/" "/home/asabet/public_html/photographerslounge.org/styles/default/"
    ModPagespeedLoadFromFile "https://www.foreverfilm.org/data/" "/home/asabet/public_html/foreverfilm.org/data/"
    ModPagespeedLoadFromFile "https://www.foreverfilm.org/js/" "/home/asabet/public_html/foreverfilm.org/js/"
    ModPagespeedLoadFromFile "https://www.foreverfilm.org/styles/default/" "/home/asabet/public_html/foreverfilm.org/styles/default/"
    ModPagespeedLoadFromFile "https://mu43-236e.kxcdn.com/data/" "/home/asabet/public_html/mu-43.com/data/"
    ModPagespeedLoadFromFile "https://mu43-236e.kxcdn.com/js/" "/home/asabet/public_html/mu-43.com/js/"
    ModPagespeedLoadFromFile "https://mu43-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/mu-43.com/styles/default/"
    ModPagespeedLoadFromFile "https://talkemount-236e.kxcdn.com/data/" "/home/asabet/public_html/talkemount.com/data/"
    ModPagespeedLoadFromFile "https://talkemount-236e.kxcdn.com/js/" "/home/asabet/public_html/talkemount.com/js/"
    ModPagespeedLoadFromFile "https://talkemount-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/talkemount.com/styles/default/"
    ModPagespeedLoadFromFile "https://fujixspot-236e.kxcdn.com/data/" "/home/asabet/public_html/fujixspot.com/data/"
    ModPagespeedLoadFromFile "https://fujixspot-236e.kxcdn.com/js/" "/home/asabet/public_html/fujixspot.com/js/"
    ModPagespeedLoadFromFile "https://fujixspot-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/fujixspot.com/styles/default/"
    ModPagespeedLoadFromFile "https://leicaplace-236e.kxcdn.com/data/" "/home/asabet/public_html/leicaplace.com/data/"
    ModPagespeedLoadFromFile "https://leicaplace-236e.kxcdn.com/js/" "/home/asabet/public_html/leicaplace.com/js/"
    ModPagespeedLoadFromFile "https://leicaplace-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/leicaplace.com/styles/default/"
    ModPagespeedLoadFromFile "https://photolounge-236e.kxcdn.com/data/" "/home/asabet/public_html/photographerslounge.org/data/"
    ModPagespeedLoadFromFile "https://photolounge-236e.kxcdn.com/js/" "/home/asabet/public_html/photographerslounge.org/js/"
    ModPagespeedLoadFromFile "https://photolounge-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/photographerslounge.org/styles/default/"
    ModPagespeedLoadFromFile "https://foreverfilm-236e.kxcdn.com/data/" "/home/asabet/public_html/foreverfilm.org/data/"
    ModPagespeedLoadFromFile "https://foreverfilm-236e.kxcdn.com/js/" "/home/asabet/public_html/foreverfilm.org/js/"
    ModPagespeedLoadFromFile "https://foreverfilm-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/foreverfilm.org/styles/default/"
    
     
  2. Tracy Perry

    Tracy Perry Well-Known Member

    In your pagespeed.conf exclude those files (or possibly directories).
     
    Amin Sabet likes this.
  3. abs0lut3

    abs0lut3 Member

    It's setting here in pagespeed.conf that prevents URLs modifications.
    Simply apply this behavior.
     

Share This Page