Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TYPE DATABASE USER ADDRESS METHOD
- # "local" is for Unix domain socket connections only
- local all all md5
- # IPv4 local connections:
- host all all 127.0.0.1/32 md5
- host all all 192.168.0.10/20 md5
- # IPv6 local connections:
- host all all ::1/128 ident
- # Allow replication connections from localhost, by a user with the
- <tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
- schema_dir="/usr/local/share/tinyows/schema/"
- log="/var/log/tinyows.log"
- log_level="15">
- <pg host="localhost" user="postgres" password="*****" dbname="tinyows_demo" port="5432"/>
- <metadata name="TinyOWS Server"
- title="TinyOWS Server - Demo Service" />
- <layer retrievable="1"
- writable="1"
- ns_prefix="tows"
- ns_uri="http://www.tinyows.org/"
- name="world"
- title="World Administrative Boundaries" />
- <layer retrievable="1"
- writable="1"
- ns_prefix="tows"
- ns_uri="http://www.tinyows.org/"
- name="france"
- title="French Administrative Sub Boundaries (IGN - GeoFLA Departements)" />
- </tinyows>
- listen_addresses = '*'
- port = 5432
- sudo /etc/init.d/postgresql restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement