ixmaps / website2017

Website for the IXmaps project
https://www.ixmaps.ca
GNU Affero General Public License v3.0
4 stars 2 forks source link

cgi-bin base url #95

Open colinmccann opened 7 years ago

colinmccann commented 7 years ago

If you git status the cgi-bin directory on the server, you get a bunch of serverside uncommitted changes. Sad face. But more importantly, I suspect that the ixmaps.py URL_HOME is wrong. @agamba , confirm?

ixmaps@ixmaps:/var/www/cgi-bin$ git diff diff --git a/ixmaps.py b/ixmaps.py index 1a430b6..a711cf0 100755 --- a/ixmaps.py +++ b/ixmaps.py @@ -14,7 +14,7 @@ import ixmaps

--- Note: Make sure that URL_HOME ends with a slash (/) ---

-URL_HOME = "http://ixmaps.ischool.utoronto.ca/" +URL_HOME = "https://www.iprp.ca/"

URL_HOME = "http://www.ixmaps.ca/"

URL_HOME = "http://test.n-space.org/ixmaps/"

@@ -40,7 +40,9 @@ class DBConnect(object): conn = None def getConnection(): if not DBConnect.conn:

diff --git a/ixmaps.pyc b/ixmaps.pyc old mode 100755 new mode 100644 index 52571d8..a50ac36 Binary files a/ixmaps.pyc and b/ixmaps.pyc differ

Andrew-Clement commented 7 years ago

As it is easy to leave off the trailing "/", is there any easy way to make performance indifferent here. eg if no trailing /, then simply add one?? But what do I know about these things?