Lofesa commented on issue #1960: "pagespeed" directive "MapProxyDomain" not 
recognized or too many arguments 
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/1960#issuecomment-539639393
 
 
   Hi @utags 
   Sorry, but my english is so bad.  Do you mean that in you pages have fb and 
tw links?
   you have these 
   `pagespeed MapRewriteDomain https://localhost/pageSpeed/printerest 
https://assets.pinterest.com; pagespeed MapRewriteDomain 
https://localhost/pageSpeed/facebook https://connect.facebook.net;`
   so allmost fb and pinterest must have their url changed, but not tw unless 
yo have added.
   Test if you have files in the proxied directories (have these directories 
created?), if yes the filter is working.
   
   Perhaps not related but you have this in config file:
   ```
   pagespeed Domain                                              *.wp.com;
   pagespeed Domain                                              
connect.facebook.com;
   pagespeed Domain                                              
assets.pinterest.com;
   pagespeed Domain                                              *.twitter.com;
   pagespeed Domain                                              
*.google-analytics.com;
   ```
   These are not correct. Whit these directive, the specified domains MUST run 
pagespeed and as far as I know none of these do. You need this for your own 
domain:
   
   `pagespeed Domain https*://*.mydomain.com*`
   
   Cause, I suppose, you are running pagespeed in localhost and by default 
pagespeed only rewrites resources from the server where it runs.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to