diff options
author | Nick Daly <Nick.M.Daly@gmail.com> | 2013-03-23 22:05:17 -0500 |
---|---|---|
committer | Nick Daly <Nick.M.Daly@gmail.com> | 2013-03-23 22:05:17 -0500 |
commit | 157226f1b88bc090b677f9896aa62a0c734ebf14 (patch) | |
tree | 59329ba9dfaeda65172007f0063d19a7a2cd244a | |
parent | 1492fe9728a7ffc7429e6c3f5adeb83af138ffa7 (diff) |
Updated links issue.
-rw-r--r-- | issues/links.mkdn | 44 | ||||
-rw-r--r-- | issues/links.org | 42 |
2 files changed, 44 insertions, 42 deletions
diff --git a/issues/links.mkdn b/issues/links.mkdn new file mode 100644 index 0000000..a39afbe --- /dev/null +++ b/issues/links.mkdn @@ -0,0 +1,44 @@ +<!-- -*- mode: markdown; mode: auto-fill; fill-column: 80 -*- --> + +# Make Links Portable # + +## Issue ## + +Currently, all the links in Plinth point to 127.0.0.1/(something), and that +sucks for serving Plinth on a local network, like most use cases imply. + +## Fixes ## + +### TODO Links work when accessed from remote clients. ### + +#### 2012.1007 #### + +Investigate the following: + + $ grep -nHr basehref ../* + + $ grep -nHr 127.0 ../* + fabfile.py:40: if env.host == "localhost" or env.host=="127.0.0.1": + fabfile.py:46: if env.host == "localhost" or env.host=="127.0.0.1": + fabfile.py:102: hidden_service_config = "HiddenServiceDir %s\nHiddenServicePort 80 127.0.0.1:%d" % (tor_dir, santiago_port) + plinth.py:119: server.socket_host = '127.0.0.1' + +Also, why is base_href blank in +[cfg.sample.py](file:~/programs/freedombox/plinth/cfg.sample.py)? + +#### 2013.0221 #### + +The actual causes of this issue are the `raise cherrypy.HTTPRedirect` lines that +change the server's name on redirect. How do we fix that? + +The server name gets redirected whenever we need to be authenticated, which is +most Plinth pages. + +## Discussion ## + +## Metadata ## + + * Metadata + :PROPERTIES: + :Status: Incomplete + :END: diff --git a/issues/links.org b/issues/links.org deleted file mode 100644 index c95b563..0000000 --- a/issues/links.org +++ /dev/null @@ -1,42 +0,0 @@ -# -*- mode: org; mode: auto-fill; fill-column: 80 -*- - -#+TITLE: Make Links Portable -#+OPTIONS: d:t -#+LINK_UP: ./ -#+LINK_HOME: ../ - -* Issue - - Currently, all the links in Plinth point to 127.0.0.1/(something), and that - sucks for serving Plinth on a local network, like most use cases imply. - -* Fixes [0/1] - -** TODO Links work when accessed from remote clients. - - Investigate the following: - - : grep -nHr basehref ../* - - : grep -nHr 127.0 ../* - - #+begin_ascii - fabfile.py:40: if env.host == "localhost" or env.host=="127.0.0.1": - fabfile.py:46: if env.host == "localhost" or env.host=="127.0.0.1": - fabfile.py:102: hidden_service_config = "HiddenServiceDir %s\nHiddenServicePort 80 127.0.0.1:%d" % (tor_dir, santiago_port) - modules/installed/santiago/santiago.py:48: hidden_service_config = "HiddenServiceDir %s\nHiddenServicePort 80 127.0.0.1:%d" % (self.tor_dir, santiago_port) - plinth.py:119: server.socket_host = '127.0.0.1' - #+end_ascii - - Also, why is base_href blank in [[file:~/programs/freedombox/plinth/cfg.sample.py][cfg.sample.py]]? - -* Discussion - -* Metadata - :PROPERTIES: - :Status: Incomplete - :Priority: 0 - :Owner: Nick Daly - :Description: - :Tags: - :END: |