shukitchan commented on issue #12064:
URL: 
https://github.com/apache/trafficserver/issues/12064#issuecomment-2702061669

   If your compilation generates `/usr/lib64/plugins/trafficserver/tslua.so` , 
then Lua should be working fine in ATS. 
   
   1) in lua, you can print error messages with `ts.error()` and see if the 
script is running. And you can examine the messages in traffic.out or diags.log 
   2) x-jsa-authorization-redirect is generated by the application. So I think 
you also need to make sure the IBM httpd server is passing the right 
information to the application. I suggest you debug on your IBM httpd server to 
see the incoming request's host header and see what you are passing as host 
header to the origin/application. 
   3) Also it may be related to your reverse_map rule. I am not too sure but 
may be if you change the rule to map ihsurl.com to your trafficserver, it may 
solve your problem?
   4) If everything fails, you can still always use Lua at 
"do_global_send_response()" function and override the response header of 
x-jsa-authoriazation-redirect and replace the host with what you want instead.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to