Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #mod_wsgi
- WSGIScriptAlias / WSGI "C: OSGeo4W apache htdocs qgis-web-client-master WSGI" WSGIScriptAliasMatch ^ / WSGI / ([^ /] +) "C: OSGeo4W apache htdocs qgis -Web-client-master $ 1.wsgi"
- LoadModule wsgi_module modules/mod_wsgi.so
- Alias /wsgi/ C:OSGeo4W/wsgi/ #**NOTE
- #This will allow to change the path of the wsgi folder (which contains your wsgi/python scripts) to a shorter one -> /wsgi/
- <Directory "C:OSGeo4W/wsgi/">
- SetHandler wsgi-script
- Options ExecCGI
- Order allow,deny
- Allow from all
- </Directory>
- DB_CONN_STRING="host='hostname' dbname='DATABASE_NAME' port='5432' user='myuser' password='mypassword'"
- searchtables[sheme_name.table_name,...];
- CREATE OR REPLACE VIEW view_name AS
- SELECT concat ('this column represents a display text') AS displaytext,
- concat('this column represents search category (best if same as searchstring)') AS search_category,
- concat('this column represents our search string') AS searchstring,
- concat('this column im not really sure what it does') AS showlayer,
- wkb_geomtry AS the_geom --this field is the most important one since it will zoom to this geometry
Advertisement
Add Comment
Please, Sign In to add comment