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?
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?
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:
db = pg.DB(dbname=dbname, host=host, user=user, passwd=passwd)
DBConnect.conn = pg.connect("ixmaps", "localhost", 5432)
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