rakudo / rakudo.org

Code for rakudo.org website
https://rakudo.org/
Artistic License 2.0
8 stars 18 forks source link

https://rakudo.org/dl/ is 404 #95

Closed AntonOks closed 7 months ago

AntonOks commented 7 months ago

https://rakudo.org/dl/ is 404


>$ curl -s https://rakudo.org/dl/star/
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>403 Forbidden</title>
<style type="text/css"><!--
body { background-color: white; color: black; font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }
hr { border: 0; border-bottom: 1px dashed; }
@media (prefers-color-scheme: dark) {
body { background-color: #1E1F21; color: #EEEFF1; }
a { color: #BAD7FF; }
}
--></style>
</head>
<body>
<h1>403 Forbidden</h1>
<hr>
<address>OpenBSD httpd</address>
</body>
</html>

>$ curl -s https://rakudo.org/dl/
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta property="og:image"
      content="https://rakudo.org/asset/logo.png">
    <meta name="twitter:image"
      content="https://rakudo.org/asset/logo.png">
    <title>404 - Page Not Found
      - Rakudo Compiler for Raku Programming Language</title>
    <link href="/asset/f74a9e05c3/app.css" rel="stylesheet">
    <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon">
  </head>

  <body>
    <div class="cover-container d-flex h-100 p-3 mx-auto flex-column">
      <header class="masthead mb-auto">
        <div class="inner">
          <h3 class="masthead-brand">
            <a href="/"><img
              src="/asset/pics/logo-inverse.png" alt=""></a>
          </h3>
          <nav class="nav nav-masthead justify-content-center">
            <a class="nav-link"
              href="/news">News</a>
            <a class="nav-link"
              href="/downloads">Downloads</a>
            <a class="nav-link"
              href="/docs">Docs</a>
            <a class="nav-link"
              href="/star">Star Bundle</a>
            <a class="nav-link"
              href="/issue-trackers">Issue Tracker</a>
            <a class="nav-link"
              href="/community">Community</a>
          </nav>
        </div>

      </header>
      <div id="content"

      >
<h2 class="h1">404 - Page Not Found</h2>
<p>The page you tried to access does not exist.</p>
</div>

      <footer class="mastfoot mt-auto">
        <div class="inner">
          <p><a href="https://github.com/rakudo/rakudo">rakudo/rakudo</a>
            | <a href="https://twitter.com/search?q=%23rakulang"
              >#rakulang</a>
            | <a href="https://kiwiirc.com/client/irc.libera.chat/#raku"
              >#raku</a>
            | <a href="/feed">News RSS</a>
          </p>
        </div>
      </footer>
    </div>
    <script src="/asset/a69a4689ef/app.js"></script>
  </body>
</html>
lizmat commented 7 months ago

I've pinged the infra team on #raku-infra.

andinus commented 7 months ago

@AntonOks What is expected at https://rakudo.org/dl/ ? I fixed it for https://rakudo.org/dl/star.

<andinus> i looked at /dl/star issue, makes sense, it was configured that way because serving files through perl app had significantly lower performance with multiple connections as compared to serving them with the web server so i made /dl/star/* go through the webserver
andinus commented 7 months ago

Fixed for https://rakudo.org/dl/nqp & https://rakudo.org/dl/rakudo as well.

AntonOks commented 7 months ago

@AntonOks What is expected at https://rakudo.org/dl/ ? I fixed it for https://rakudo.org/dl/star.

<andinus> i looked at /dl/star issue, makes sense, it was configured that way because serving files through perl app had significantly lower performance with multiple connections as compared to serving them with the web server so i made /dl/star/* go through the webserver

THANKS! All good now, the "dl/star/ in used / needed in: https://github.com/rakudo/star/actions/workflows/publish_rakudo-star_on_rakudo.org.yml

For the https://rakudo.org/dl/... I thought it may show more infos about the "dl API".. i.e. which dl's are supported / available, like from what you wrote and I learned now:

btw, why not also https://rakudo.org/dl/moarvm? ;)

andinus commented 7 months ago

It seems like those pages are only generated for directories under binaries. There are only 3 directories nqp, star & rakudo.

AntonOks commented 7 months ago

It seems like those pages are only generated for directories under binaries. There are only 3 directories nqp, star & rakudo.

Ah, that makes sense now. Thanks again!!!