Changes between Initial Version and Version 1 of Ticket #1682


Ignore:
Timestamp:
11/30/18 19:04:53 (5 years ago)
Author:
Maxim Dounin
Comment:

I've tested the configuration in question, and it seems to work fine here (without pagespeed though) - request is properly rewritten to "/not-exist-file/post.php?name=test", and then handled in the php location.

Are you sure this is the exact configuration you are testing? Are you able to reproduce the problem without any 3rd party modules compiled in?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1682 – Description

    initial v1  
    33Nginx tries to open the html file and through error 404.
    44I expected the redirection to the php script.
    5 
     5{{{
    66server {
    77
     
    5757    }
    5858}
    59 
     59}}}
    6060
    6161Error:
    62 
     62{{{
    6363[debug] 50772#0: *64 Passing on content handling for non-pagespeed resource 'https://www.testing.com.uy/not-exist-file/test.html'
    6464[error] 50772#0: *64 open() "/var/www/webdisk/testing.com.uy/htdocs/not-exist-file/test.html" failed (2: No such file or directory), client: X.X.X.X, server: www.testing.com.uy, request: "GET /not-exist-file/test.html HTTP/2.0", ...
    65 
     65}}}
    6666Regards.
    6767Guillermo.