[Spaceapi-devel] Was the directory down yesterday?

Roland Hieber lists at rohieb.name
Wed Jun 5 00:55:29 CEST 2013


On 04.06.2013 22:29, slopjong wrote:
> Actually the redirect is working with cURL, wget and Chromium. I don't
> know why it doesn't work in Firefox.

Strange. My cURL begs to differ, see attached console log. Maybe a
caching problem?

-- 
Roland Hieber
Stratum 0 e.V., Braunschweig, Germany, Earth
https://stratum0.org/
-------------- next part --------------
$ dig openspace.slopjong.de

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> openspace.slopjong.de
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50891
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;openspace.slopjong.de.INA

;; ANSWER SECTION:
openspace.slopjon			g.de.10595INA93.92.148.20

;; Query time: 1 msec
;; SERVER: 192.168				.148.1#53(192.168.148.1)
;; WHEN: Wed Jun  5 00:53:38 2013
;; MSG SIZE  rcvd: 55



$ curl -i 'http://openspace.slopjong.de/directory.json'
HTTP/1.1 301 Moved Permanently
Date: Tue, 04 Jun 2013 22:50:13 GMT
Server: Apache
Location: http://spaceapi.net/directory.json?delegator=directory&action=get
Vary: Accept-Encoding
Content-Length: 277
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://spaceapi.net/directory.json?delegator=directory&action=get">here</a>.</p>
</body></html>



$ dig spaceapi.net 

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> spaceapi.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51258
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;spaceapi.net.			IN	A

;; ANSWER SECTION:
spaceapi.net.		3302	IN	A	93.92.148.20

;; Query time: 1 msec
;; SERVER: 192.168.148.1#53(192.168.148.1)
;; WHEN: Wed Jun  5 00:46:08 2013
;; MSG SIZE  rcvd: 46



$ curl -i 'http://www.spaceapi.net/directory.json?delegator=directory&action=get'
HTTP/1.1 200 OK
Date: Tue, 04 Jun 2013 22:48:27 GMT
Server: Apache
Vary: Accept-Encoding
Content-Length: 5847
Content-Type: text/html

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>The Space API</title>
    <meta name="description" content="A unified API to expose relevant hackerspace informations.">
    <meta name="author" content="Slopjong">
    
    <script src="config.js"></script>
    <script src="c/js/jquery/jquery-1.9.1.min.js"></script>
    
    <!--
    <script src="c/js/jquery-router/jquery.router-0.5.3.js"></script>
    <script src="c/js/jquery-tools/jquery.tools.min.js"></script>
    -->
    
    <!-- Le styles -->
    <link rel="stylesheet" href="bootstrap/css/bootstrap.css"> 
    <link rel="stylesheet" href="c/css/style.css">     
    
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
        <script src="c/js/html5shiv/html5shiv.js"></script>
    <![endif]-->
    
    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="bootstrap/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="bootstrap/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="bootstrap/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="bootstrap/ico/apple-touch-icon-57-precomposed.png">
        
    <!--<link rel="shortcut icon" href="bootstrap/ico/favicon.png"> -->
    <!-- The first icon is used by browsers that don't support animated icons -->
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"><link rel="shortcut icon" type="image/x-icon" href="favicon.gif">
    
    <link rel="prerender" href="directory" />
    
        
    
    
    
    
    <style></style>
    
  </head>

  <body>

    <div class="container">

        <div class="row" style="line-height: 0px;">
            <div class="span6">
                <img style="width: 200px;" src="c/images/spaceapi-logo.png">
            </div>
            <div class="span6" style="text-align: right;">
                <div>
                    <a target="_blank" href="http://hackerspaces.org">
                      <img alt="Hacker Zone" src="c/images/hackerzone.png" style="margin-right: 9px;">
                    </a>    
                </div>
                <div style="margin-top: 15px; font-size: 7pt; color: #999999;">
                    <span style="background-color: white; padding-left: 8px;">
                      tools made for <a id="sourceLink" href="http://hackerspaces.org">hackerspaces</a>
                    </span>
                </div>
            </div>
        </div>
        
        <hr style="margin-top: 0px;">
    
        <div class="row" style="padding: 0;">
            <div class="span3" style="">
                <ul class="nav nav-pills pull-left">
                    <li>
                        <a class="add-space-button button" href="add-your-space">Add your space</a>
                        <div style="font-size: x-small; margin-left: 12px;">
                            <a href="add-your-space">Or request a change</a>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="span8">
                <ul id="main-nav" class="nav nav-pills pull-right">
                  <li class=""><a href="intro">Home</a></li><li class=""><a href="directory">Directory</a></li><li class=""><a href="validator">Validator</a></li><li class=""><a href="documentation">Documentation</a></li><li class=""><a href="app">Apps</a></li>
                </ul>
            </div>
            <div class="span1">
                <ul class="nav nav-pills pull-right">
                    <li>
                        <a class="button" href="http://slopjong.de/category/spaceapi" target="_blank">Blog</a>
                    </li>
                </ul>
            </div>
        </div>

        <!-- a spacer -->
        <div class="row"> </div>
        
        <div id="page-content" style="/*display: none;*/">

            <div id="javascript-available-container">
                    
    <h2 style="font-size:50pt;">Error</h2>
    
    <p>
        <strong>400 or 401 or 403 or 404 or 500 or 503</strong>
    </p>
    
    You know what this means.    

            </div>

            <!-- if javascript is disabled, we let'em know -->
            <noscript>
                <style type="text/css">
                    #javascript-available-container {display:none;}
                </style>

                <div style="text-align: center;">
                    <img src="c/images/nojavascriptenabled.png" alt="No javascript enabled"/>
                </div>
            </noscript>
        </div>





        
    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    
    <script src="bootstrap/js/bootstrap.min.js"></script>
    
    <!-- the following scripts are included in bootstrap.js and bootstrap.min.js -->
    <!--
    <script src="bootstrap/js/bootstrap-transition.js"></script>
    <script src="bootstrap/js/bootstrap-alert.js"></script>
    <script src="bootstrap/js/bootstrap-modal.js"></script>
    <script src="bootstrap/js/bootstrap-dropdown.js"></script>
    <script src="bootstrap/js/bootstrap-scrollspy.js"></script>
    <script src="bootstrap/js/bootstrap-tab.js"></script>
    <script src="bootstrap/js/bootstrap-tooltip.js"></script>
    <script src="bootstrap/js/bootstrap-popover.js"></script>
    <script src="bootstrap/js/bootstrap-button.js"></script>
    <script src="bootstrap/js/bootstrap-collapse.js"></script>
    <script src="bootstrap/js/bootstrap-carousel.js"></script>
    <script src="bootstrap/js/bootstrap-typeahead.js"></script>
    -->
    
  </body>
</html>


More information about the Spaceapi-devel mailing list