<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><div>Hello everyone,</div><div><br></div><div>I'm trying to set up QGIS Web Client on Ubuntu 12.04 but i have a problem with the search bar on the upper right corner it keeps LOADING…</div><div><br></div><div>1) created a VIEW (search_address) and seems to be good ? ( …searchstring_tsvector -> '1700':3 '27':2 'sterrenlan':1 )</div><div style="font-size: medium; ">2) installed modules : <span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">python-wsgi,</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">psycopg2 and </span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">webob</span></div><div style="font-size: medium; "><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">3)</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre-wrap; ">enable mod_wsgi as root but</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 17px; white-space: pre-wrap; "> </span><span style="font-family: Consolas; ">not with "a2enmod mod_wsgi"-> </span>ERROR: Module mod_wsgi does not exist!</div><div style="font-size: medium; "><span style="font-family: Consolas; "> <span class="Apple-tab-span" style="white-space: pre; "> </span> but with</span><span style="font-family: Consolas; ">"a2enmod wsgi" -> Module wsgi enabled</span></div><div style="font-family: Calibri; font-size: medium; "><font face="Consolas"> Is there a difference between mod_wsgi and wsgi ?</font></div><div style="font-family: Calibri; font-size: medium; "> 4) configure apache (mod_wsgi)</div><div style="font-family: Calibri; font-size: medium; ">5) <span style="font-family: Consolas; ">file search.wsgi changed: </span><span style="font-family: Consolas; ">line18 searchtables = ['schemaname.search_address'];</span></div><div style="font-size: medium; font-family: Consolas; "> <span class="Apple-tab-span" style="white-space: pre; "> </span> line77 conn = psycopg2.connect("host?… My settings?.)</div><div style="font-size: medium; font-family: Consolas; "><br></div><div style="font-size: medium; font-family: Consolas; ">6) file GetSearchGeom.wsgi changed: Line22 conn = psycopg2.connect("host…? My settings?.)</div><div style="font-size: medium; font-family: Consolas; "><br></div><div style="font-size: medium; font-family: Consolas; ">7) file GlobalOptions.js changed:</div><div style="font-size: medium; font-family: Consolas; "> var useGeoNamesSearchBox = false</div><div style="font-size: medium; font-family: Consolas; "> var searchBoxQueryURL = "/path-to-my wsgi-scripts/wsgi/search.wsgi?query=";</div><div style="font-size: medium; font-family: Consolas; "> var searchBoxGetGeomURL = "/path-to-my wsgi-scripts/wsgi/getSearchGeom.wsgi";</div><div style="font-family: Calibri; font-size: medium; "><br></div><div style="font-family: Calibri; font-size: medium; ">Anyone an idea what i am doing wrong ?</div><div style="font-family: Calibri; font-size: medium; "><br></div><div style="font-family: Calibri; font-size: medium; ">Thanks,</div><div style="font-family: Calibri; font-size: medium; ">Geert Smet</div></div></body></html>