anarchoi commented on issue #1897: 4xx status code, preventing rewriting
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/1897#issuecomment-500528298
 
 
   > Yes, you need it. You can put it in the "httpd.conf" (or "apache2.conf") 
file in a scope other than Directory , maybe in a vhost scope. In nginx you can 
put this in the http block or in the server block, but not in a location block.
   
   This is where it gets complicated. I can't even find where are the files to 
edit and I don't even understand the difference between directory scope or 
vhosts scope. I googled some instructions but I can't find "apache2.conf" 
anywhere 
   According to this: 
https://www.phusionpassenger.com/library/install/apache/working_with_the_apache_config_file.html
   The file should be in this path but it's not!! /etc/apache2/apache2.conf
   
   > But images are loaded from the same server?
   Yes
   
   > Maybe you are using a nginx as a proxy cache?
   Yes, but I have no idea how it is configured... We used cpnginx for the 
setup and we didn't have anything to do manually, it's basically plug-and-play
   
   > but if yes, then you need to configure a downstream cache
   omg I don't think I will be able to successfully do this. Does this means 
that modpagespeed will be broken without downstream cache?
   ... maybe I should just give up right now and stop wasting your time ...
   
   This is the 4th time we try to install modpagespeed on this server in the 
last year and every single time we had lot of bugs, spent a lot of time trying 
to fix them but failed and end up giving up and uninstalling it :( This time we 
tried installing modpagespeed on Apache instead of just Nginx because we 
assumed we would be able to make the changes in htaccess files with FTP, which 
is way easier and user-friendly, but it looks like we will still have to edit 
linux config files :(

----------------------------------------------------------------
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