mojoconf / nyc-2015-06-05

Summary of Mojoconf 2015 in New York (UNOFFICIAL)
0 stars 0 forks source link

Fix mojoconf.org #11

Closed jhthorsen closed 9 years ago

jhthorsen commented 9 years ago

@tempire: I think we need to move mojoconf.org back to where it was. We're messing up all old links the way it is now.

I will assign this to @ssm, unless you disagree.

We can move the DNS record later on if needed. I will add a big button to mojoconf.org which sends the visitor to mojoconf.com.

I will later on (when I have gotten in touch with ACT) be able to move mojoconf.org back to you, but then you have to be ready with this redirect:

$app->hook(
  before_dispatch => sub {
    my $c = shift;
    my $url = $c->req->url->path;

    if ($path->[0] and $path->[0] eq 'mojo2014') {
      $c->redirect_to("http://act.yapc.eu/mojo2014/$path");
    }
  },
);
tempire commented 9 years ago

Do we really care about old content more than having both domains work as most people would expect?

On Wednesday, March 4, 2015, Jan Henning Thorsen notifications@github.com wrote:

@tempire https://github.com/tempire: I think we need to move mojoconf.org back to where it was. We're messing up all old links the way it is now.

I will assign this to @ssm https://github.com/ssm, unless you disagree.

We can move the DNS record later on if needed. I will add a big button to mojoconf.org which sends the visitor to mojoconf.com.

I will later on (when I have gotten in touch with ACT) be able to move mojoconf.org back to you, but then you have to be ready with this redirect:

$app->hook( before_dispatch => sub { my $c = shift; my $url = $c->req->url->path;

if ($path->[0] and $path->[0] eq 'mojo2014') {
  $c->redirect_to("http://act.yapc.eu/mojo2014/$path");
}

}, );

— Reply to this email directly or view it on GitHub https://github.com/mojoconf/nyc-2015-06-05/issues/11.

jhthorsen commented 9 years ago

Yes. I want to visit my old profile page.

On 4. mar. 2015, at 19.36, Glen Hinkle notifications@github.com wrote:

Do we really care about old content more than having both domains work as most people would expect?

On Wednesday, March 4, 2015, Jan Henning Thorsen notifications@github.com wrote:

@tempire https://github.com/tempire: I think we need to move mojoconf.org back to where it was. We're messing up all old links the way it is now.

I will assign this to @ssm https://github.com/ssm, unless you disagree.

We can move the DNS record later on if needed. I will add a big button to mojoconf.org which sends the visitor to mojoconf.com.

I will later on (when I have gotten in touch with ACT) be able to move mojoconf.org back to you, but then you have to be ready with this redirect:

$app->hook( before_dispatch => sub { my $c = shift; my $url = $c->req->url->path;

if ($path->[0] and $path->[0] eq 'mojo2014') { $c->redirect_to("http://act.yapc.eu/mojo2014/$path"); } }, );

— Reply to this email directly or view it on GitHub https://github.com/mojoconf/nyc-2015-06-05/issues/11.

— Reply to this email directly or view it on GitHub.

jhthorsen commented 9 years ago

@ssm: can you temporarily move the domain back? I think the ip is 91.216.186.189 (if you don't already know)

jhthorsen commented 9 years ago

I've added this to the 2014 ACT page:

Revision: 105
Author:   jhthorsen
Date:     2015-03-04 20:21:47 +0100 (Wed, 04 Mar 2015)
Log Message:
-----------
Add link to 2015

Modified Paths:
--------------
    actdocs/static/index.html

Modified: actdocs/static/index.html
===================================================================
--- actdocs/static/index.html   2015-02-27 21:24:34 UTC (rev 104)
+++ actdocs/static/index.html   2015-03-04 19:21:47 UTC (rev 105)
@@ -2,6 +2,16 @@

 <div class="row with-air">
   <div class="col-sm-8">
+    <h2>Mojoconf 2015</h2>
+    <p class="alert alert-info">
+      <a href="http://mojoconf.com/">Mojoconf 2015</a> is
+      <a href="http://blog.kraih.com/post/112617736601/mojoconf-2015">announced</a>.
+      <br>
+      <a href="http://mojoconf.com/" class="btn btn-primary btn-lg">Go to Mojoconf 2015</a>.
+    </p>
+  </div>
+
+  <div class="col-sm-8">
     <h2>23rd to 25th of May, 2014</h2>

     <p>
jhthorsen commented 9 years ago

Nevermind. I totally forgot about the "Host" header! Will push a "fix" to MCT soon.

jhthorsen commented 9 years ago

Fixed in https://github.com/mojoconf/MCT/commit/cbd61b534a3a111ef0f471d034401335032c6001

jhthorsen commented 9 years ago

@tempire: Please reload the webserver with the new code and close this issue after you have verified that http://www.mojoconf.org/mojo2014/ does not result in 404.