Advertisement
Guest User

Untitled

a guest
Apr 12th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. # TYPE DATABASE USER ADDRESS METHOD
  2.  
  3. # "local" is for Unix domain socket connections only
  4. local all all md5
  5. # IPv4 local connections:
  6. host all all 127.0.0.1/32 md5
  7. host all all 192.168.0.10/20 md5
  8. # IPv6 local connections:
  9. host all all ::1/128 ident
  10. # Allow replication connections from localhost, by a user with the
  11.  
  12. <tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
  13. schema_dir="/usr/local/share/tinyows/schema/"
  14. log="/var/log/tinyows.log"
  15. log_level="15">
  16.  
  17. <pg host="localhost" user="postgres" password="*****" dbname="tinyows_demo" port="5432"/>
  18.  
  19. <metadata name="TinyOWS Server"
  20. title="TinyOWS Server - Demo Service" />
  21.  
  22. <layer retrievable="1"
  23. writable="1"
  24. ns_prefix="tows"
  25. ns_uri="http://www.tinyows.org/"
  26. name="world"
  27. title="World Administrative Boundaries" />
  28.  
  29. <layer retrievable="1"
  30. writable="1"
  31. ns_prefix="tows"
  32. ns_uri="http://www.tinyows.org/"
  33. name="france"
  34. title="French Administrative Sub Boundaries (IGN - GeoFLA Departements)" />
  35.  
  36. </tinyows>
  37.  
  38. listen_addresses = '*'
  39. port = 5432
  40.  
  41. sudo /etc/init.d/postgresql restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement