Skip to content

Instantly share code, notes, and snippets.

@gartha1
Created July 28, 2022 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gartha1/ab7ae42254d0eba3631235690de055f5 to your computer and use it in GitHub Desktop.
Save gartha1/ab7ae42254d0eba3631235690de055f5 to your computer and use it in GitHub Desktop.
C:\curl\bin>echo vvv is the one google doesn't like(that's the mounted one). google is fine with fep(the local one).
vvv is the one google doesn't like(that's the mounted one). google is fine with fep(the local one).
C:\curl\bin>
C:\curl\bin>curl --verbose http://1.2.3.4/vvv/
* Trying 1.2.3.4:80...
* Connected to 1.2.3.4 (1.2.3.4) port 80 (#0)
> GET /vvv/ HTTP/1.1
> Host: 1.2.3.4
> User-Agent: curl/7.75.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Thu, 28 Jul 2022 19:59:40 GMT
< Server: Apache/2.4.41 (Ubuntu)
< Last-Modified: Thu, 28 Jul 2022 19:27:46 GMT
< ETag: "2-5e4e2873dc82d"
< Accept-Ranges: bytes
< Content-Length: 2
< Content-Type: text/html
<
f
* Connection #0 to host 1.2.3.4 left intact
C:\curl\bin>curl --verbose http://1.2.3.4/fep
* Trying 1.2.3.4:80...
* Connected to 1.2.3.4 (1.2.3.4) port 80 (#0)
> GET /fep HTTP/1.1
> Host: 1.2.3.4
> User-Agent: curl/7.75.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Date: Thu, 28 Jul 2022 19:59:53 GMT
< Server: Apache/2.4.41 (Ubuntu)
< Location: http://1.2.3.4/fep/
< Content-Length: 233
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://1.2.3.4/fep/">here</a>.</p>
</body></html>
* Connection #0 to host 1.2.3.4 left intact
C:\curl\bin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment