biomedicus commented on issue #1013: PageSpeed 404s origin files with .pagespeed. in them. URL: https://github.com/apache/incubator-pagespeed-mod/issues/1013#issuecomment-425737242 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.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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