Skip to content

cgi-bin base url #95

@colinmccann

Description

@colinmccann

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:

  •        DBConnect.conn = pg.connect("ixmaps", "localhost", 5432)
    
  •        #db = pg.DB(dbname=dbname, host=host, user=user, passwd=passwd)
    
  •        #DBConnect.conn = pg.connect("ixmaps", "localhost", 5432)
    
  •        DBConnect.conn = pg.connect('ixmaps', 'localhost', 5432, None, None, 'ixmaps', 'ixmaps531')
       return DBConnect.conn
    
    getConnection = staticmethod(getConnection)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions