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

   @shukitchan i got stuck in this upgrade. even applied lua script still issue 
is not resolved. thought lua is not working in ATS, then just added some log 
file in script but that works whenever curl request send. 
   
   function do_global_send_request()
     ts.server_request.header["Host"] = "trafficserverurl"
   end
   
   function do_remap()
       local file = io.open("/var/log/trafficserver/lua_output2.log", "a")
       file:write("Lua script is appending.\n")
       file:close()
       return 0
   end
   
   
   
   cat /var/log/trafficserver/lua_output2.log
   Lua script is appending.
   Lua script is appending.
   
   it means script is working right ? but still my issue is not resolved. 
   


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