Re: PHP-FPM with Reverse Proxy via cannot get to Post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Test that method in beginning but was not working...

Today test.... not working

LOGS TODAY:

On the MAIN root DIRECTORY

RewriteEngine On
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]



After change httpd_access

192.168.22.217 - - [01/Aug/2021:18:35:56 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:18:36:05 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:18:36:05 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:18:36:06 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:19:12:42 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:19:12:42 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:19:12:47 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:19:12:51 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:19:12:52 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196 192.168.22.217 - - [01/Aug/2021:19:12:52 -0400] "POST /api/v1/zip-code-search HTTP/1.1" 404 196


Also

These are the Fields on COOKIE PAYLOAD with the above POST

_APP_LANG
_pk_id
"name" session
XSRF-TOKEN


The _pk_ref is missing from the cookie payload...

Working Cookie/Storage/Header on payload has 5 FIELDS
_APP_LANG
_pk_id
_pk_ref
"name" session
XSRF-TOKEN


Any other suggestions?

_
Josh



On 2021-08-01 19:07, Dino Ciuffetti wrote:
After many tests, I have concluded that what is happening is that header is not being sent to PHP-FPM since we use authorization and access, no response payload is being provided on POST with
PHP-FPM (my findings).

The app does header authentication via JWT and outside of the authentication access, view &
function of the app is as expected.


Already tried with this on your VH or .htaccess ?

RewriteEngine On
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

--
_________________________________________________________

IMPORTANT: The information contained in this communication is confidential
and/or legally privileged, and should be for the use only of the
addressee(s).  If you are not the intended recipient, please contact the
sender and destroy all copies of this message and any attachments.  Any
disclosure, copying, distribution or taking any action in reliance on this
information other than by the intended recipient is strictly prohibited
and may be unlawful.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux