Giter Site home page Giter Site logo

Comments (4)

leggewie avatar leggewie commented on July 28, 2024

works for me

from http-redirector.

imran-uk avatar imran-uk commented on July 28, 2024

I tried using Google DNS and OpenDNS - I get 404

I tried using http://404checker.com/404-checker, I get 404

I tried from my hosted server using "links" - I get 404

Please ask someone in your circle to re-check.

Thanks

On 8 June 2015 at 22:42, leggewie [email protected] wrote:

works for me


Reply to this email directly or view it on GitHub
#60 (comment)
.

Key fingerprint = EF78 310C C517 9564 9ECA 82F6 68FA E621 17E1 5D16
http://about.me/imranchaudhry

from http-redirector.

2vek avatar 2vek commented on July 28, 2024

for me http://httpredir.debian.org/debian results in a 404.
but http://httpredir.debian.org/debian/ works fine. (notice the trailing slash in url)

Here is curl output

$  curl -v http://httpredir.debian.org/debian
* Hostname was NOT found in DNS cache
*   Trying 5.153.231.35...
*   Trying 2001:41c8:1000:21::21:35...
* Connected to httpredir.debian.org (5.153.231.35) port 80 (#0)
> GET /debian HTTP/1.1
> User-Agent: curl/7.38.0
> Host: httpredir.debian.org
> Accept: */*
> 
< HTTP/1.1 404 Not Found
< Date: Wed, 10 Jun 2015 04:18:05 GMT
* Server Apache is not blacklisted
< Server: Apache
< Vary: Accept-Encoding
< Content-Length: 274
< Content-Type: text/html; charset=iso-8859-1
< 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /debian was not found on this server.</p>
<hr>
<address>Apache Server at httpredir.debian.org Port 80</address>
</body></html>
* Connection #0 to host httpredir.debian.org left intact


$  curl -v http://httpredir.debian.org/debian/
* Hostname was NOT found in DNS cache
*   Trying 5.153.231.35...
*   Trying 2001:41c8:1000:21::21:35...
* Connected to httpredir.debian.org (5.153.231.35) port 80 (#0)
> GET /debian/ HTTP/1.1
> User-Agent: curl/7.38.0
> Host: httpredir.debian.org
> Accept: */*
> 
< HTTP/1.1 302 Found
< Date: Wed, 10 Jun 2015 04:25:50 GMT
< Location: http://mirror.isoc.org.il/pub/debian/
< Content-Type: text/plain
< X-Clacks-Overhead: GNU Terry Pratchett
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
< 
* Connection #0 to host httpredir.debian.org left intact

EDIT:
if url without trailing slash is used in /etc/apt/sources.list, apt-get works fine.
But from browser or curl it results in a 404.

from http-redirector.

rgeissert avatar rgeissert commented on July 28, 2024

Hi,

This is not a bug in the codebase itself, and there is even a note about it in the homepage that reads:
"Note: some people test the above URLs by copying&pasting them as-is in their browser. You need to add a slash at the end. E.g. /debian/. "

from http-redirector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.