i am afraid i dont have the right knowledge to set up a virtual host  .  
 i found also this solution , i entered the rule in .htaccess file but still 
the problem is there.  as i get it the pagespeed rewwrites my uploades and 
makes them webp files and then it cannt find it .   should i enter this rule 
somewhere else? 

I am getting 404s for rewritten resources (like 
example.png.pagespeed.ic.LxXAhtOwRv.png) or for the mod_pagespeed_admin console 
🔗
The most common reason that the rewritten resources 404 is because of 
mod_rewrite RewriteCond rules. For example:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ /404 [L,R=301]
This rule causes 404 for all requests which don't exist on the filesystem, 
including mod_pagespeed rewritten resources and the mod_pagespeed admin console.

In order to fix this you must add an exception for mod_pagespeed URLs:

  RewriteCond %{REQUEST_URI} !pagespeed
This will allow rewritten resources, the admin console and static resources 
necessary for some filters.



[ Full content available at: 
https://github.com/apache/incubator-pagespeed-mod/issues/1013 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to