Karthikdasari0423 commented on issue #10951:
URL: 
https://github.com/apache/trafficserver/issues/10951#issuecomment-1864368745

   Thank you @brbzull0,
   
   I placed all my files in /var/www/html
   If I try to download file which is in above path then I am getting error
   Any idea what configuration do I need to change and in which file
   
   Could you please help me with this
   
   For example i have a file like below
   ``` root@ubuntu:~# ls -lrth /var/www/html/test.pdf
   -rw-r--r-- 1 root root 560K Dec 17 19:12 /var/www/html/test.pdf
   root@ubuntu:~#```
   
   if i try to download test.pdf,i will get error cause my ATS is not pointing 
to /var/www/html
   ```
   root@ubuntu:~# curl -k -v --http3-only -o /tmp/test.pdf 
https://localhost:4443/test.pdf
   * Host localhost:4443 was resolved.
   * IPv6: ::1
   * IPv4: 127.0.0.1
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                    Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     
0*   Trying [::1]:4443...
   * QUIC cipher selection: 
TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_CCM_SHA256
   * Skipped certificate verification
   * Connected to localhost (::1) port 4443
   * using HTTP/3
   * [HTTP/3] [0] OPENED stream for https://localhost:4443/test.pdf
   * [HTTP/3] [0] [:method: GET]
   * [HTTP/3] [0] [:scheme: https]
   * [HTTP/3] [0] [:authority: localhost:4443]
   * [HTTP/3] [0] [:path: /test.pdf]
   * [HTTP/3] [0] [user-agent: curl/8.5.1-DEV]
   * [HTTP/3] [0] [accept: */*]
   > GET /test.pdf HTTP/3
   > Host: localhost:4443
   > User-Agent: curl/8.5.1-DEV
   > Accept: */*
   >
     0     0    0     0    0     0      0      0 --:--:--  0:00:29 --:--:--     
0* ngtcp2_conn_handle_expiry returned error: ERR_IDLE_CLOSE
     0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0
   * Connection #0 to host localhost left intact
   curl: (55) ngtcp2_conn_handle_expiry returned error: ERR_IDLE_CLOSE
   root@ubuntu:~#
   ```
   
   Could you please help me  to point my ATS to /var/www/html folder instead of 
default folder
    


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