Lofesa commented on issue #1720:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1720#issuecomment-732095503


   Hi.... [Occam](https://en.wikipedia.org/wiki/Occam%27s_razor),  a 
missconfiguration rather tan a bug.
   For example, in you fastcgi.conf have you a line like:
   `fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;`
   or in the uhl.site.conf there is this at line 101:
   `try_files $uri =404;`
   this try to find a file that match the uri and if not found return a 404. 
Better try to use this
   `try_files $uri $uri/ /index.php$is_args$args ;`
   This tries to fin a file, if not found, try if is a folder, if not found try 
the index.php with parameters (if one is set)
   In wordpress if you use pretty url, some like https://uhl.site/some-post/ 
the /some-post/ part is not a file nor folder but rather than wordpress convert 
it in some like https://uhl.site/index.php?post-id=XXXX


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


Reply via email to