anarchoi edited a comment on issue #1897: 4xx status code, preventing rewriting URL: https://github.com/apache/incubator-pagespeed-mod/issues/1897#issuecomment-500151901 > Whats messages do you have when enable FechtHttps? Just a white page displaying "Internal Server Error" > These directive cannot be used in .htaccess files or <Directory> scopes. Then where am I supposed to put these directives for Apache? The documentation is so confusing Anyway, do I really need to do this if FetchHttps is enabled by default? > Can you try the LoadFromFile ? I tried but I failed :( Some of our images are generated dynamically so we can't load them from disk. example: `RewriteRule ^image_mini/([^.]+)-00([0-9]+)\.jpg$ /image_mini_jpg.php?a=$2 [L,QSA,NC] ` > By default PageSpeed loads sub-resources via an HTTP fetch. It would be faster to load sub-resources directly from the filesystem, however this may not be safe to do because the sub-resources may be dynamically generated or the sub-resources may not be stored on the same server.
---------------------------------------------------------------- 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