Main Page/Stuff/PostGIS

From phurvitz
Jump to: navigation, search

Postgres

  • set /usr/local/pgsql/data/pg_hba permissions for net access
  • listen_addresses = '*' in /usr/local/pgsql/data/postgresql.conf
  • add a user for web access to tables (user=foo, pw=bar)
  • GRANT to give access to tables

Mapserver

 851  chcon -t texrel_shlib_t libming.so*
 877  chcon -t httpd_sys_script_t /var/www/cgi-bin/mapserv
 879  chcon -t httpd_sys_content_t /var/www/cgi-bin/mapserv
 881  chcon -t httpd_sys_script_t /var/www/cgi-bin/mapserv
 882  chcon -t httpd_sys_script_exec_t /var/www/cgi-bin/mapserv
 884  chcon -t httpd_sys_script_exec_t /var/www/cgi-bin/mapserv
 887  chcon -t httpd_sys_script_ro_t /var/www/cgi-bin/mapserv
 892  chcon -t httpd_sys_script_exec_t /var/www/cgi-bin/mapserv
 894  chcon -t httpd_unconfined_script_exec_t /var/www/cgi-bin/mapserv
 672  setsebool httpd_enable_homedirs true
 890  setsebool -P httpd_enable_cgi 1