User Tools

Site Tools


curl:track_web_redirects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
curl:track_web_redirects [2016/07/01 23:28] – created petercurl:track_web_redirects [2020/09/25 13:11] (current) – created 192.168.1.1
Line 1: Line 1:
 ====== Curl - Track Web Redirects ====== ====== Curl - Track Web Redirects ======
  
-<code>+Sometimes a page may redirect to another resource. 
 + 
 +By default CURL will not follow page redirections.  To make CURL follow redirections use the **-L** option. 
 + 
 +<code bash>
 curl -v -Ls  -o /dev/null sharewiz.net curl -v -Ls  -o /dev/null sharewiz.net
 </code> </code>
Line 10: Line 14:
   * -v         Verbose   * -v         Verbose
  
 +returns:
  
-Returns +<code bash>
- +
-<code>+
 * Rebuilt URL to: sharewiz.net/ * Rebuilt URL to: sharewiz.net/
 *   Trying 192.168.1.2... *   Trying 192.168.1.2...
Line 35: Line 38:
 * Connection #0 to host sharewiz.net left intact * Connection #0 to host sharewiz.net left intact
 </code> </code>
 +
curl/track_web_redirects.1467415711.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki