you can set the TRUST connection to postgis database.
in pg_hba.conf (/etc/postgresql/VERSION/main/pg_hba.conf)
you define:
hostssl allmapas172.17.0.1/24trust
where:
hostssl: only accept ssl connection
all : all databases, you can change to your database name
you need reload the postgresql server and put in mapfile:
CONNECTION dbname=db host=IP port=5432 user=USERDB
I'm using
2012/3/29 Pedro Costa pedrocostaa...@sapo.pt
Thanks but donĀ“t work...
The webgis stay loading the layers forever...
Can you help me?
Em 29-03-2012 13:08, Daniel
If you use linux,you can add syntax highlight for mapfiles
Enviado desde mi BlackBerry de Personal
-Original Message-
From: Ulisse fabiani.uli...@gmail.com
Sender: mapserver-users-boun...@lists.osgeo.org
Date: Thu, 24 Nov 2011 20:01:16
To: mapserver-users@lists.osgeo.org
Subject:
Estimado Carlos:
Muchas gracias por la respuesta. Yo tambien trate pero aun no consegui
nada, pero seguire intentando.
Saludos!
Atentamente
Rolando Sergio Rodriguez
DIT Direccion de Informacion Territorial - SPER
Provincia del Chaco Marcelo T. de Alvear 145 - 9no Piso de Casa de Gobierno
Tel:
en la definicion de los virtual hosts debes agregar:
en Apache 2.2
VirtualHost *:80
...
...
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Directory /usr/lib/cgi-bin
AllowOverride None
Options +ExecCGI -MultiViews
hi,this is part of mi map file
--
LABELMAXSCALE 9
LABELMINSCALE 8000
METADATA
LAYER_ENCODING UTF-8
DESCRIPTION Avenidas
RESULT_FIELDS nombre,desde,hasta
RESULT_HEADERS Nombre,Desde,Hasta
END #METADATA
LABELITEM