mbakturk commented on issue #1417:
URL: https://github.com/apache/trafficserver/issues/1417#issuecomment-1169683881

   Hi @mlibbey I updated my remap.config according to your comment. Authproxy 
started to work. ATS sends request to my auth server however in this time I 
have "Cycle Prohibited".
   
   curl http://localhost:8080
   
   Cycle Prohibited
   Description: Could not process your request for the document because it 
would cause an HTTP proxy cycle. Please check the URL and your browser's proxy 
settings.
   
   **remap.config:**
   map http://127.0.0.1:9000/ http://192.168.1.6:9000/
   map http://localhost:8080/ http://admin.internal:8080/ @plugin=authproxy.so \
       @pparam=--auth-transform=redirect @pparam=--auth-host=127.0.0.1 
@pparam=--auth-port=9000
   
   map http://admin.internal:8080/ http://example.com/
   
   **/etc/hosts:**
   127.0.0.1 admin.internal
   
   **P.S.** I can get example.com's response when I send request to 
admin.internal:8080 (curl http://admin.internal:8080).
   


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