This is an old revision of the document!
Configurando o Apache para rodar os aplicativos CGI do TerraOGC
Dependendo da distribuição do Apache (Linux ou Windows) pode variar um pouco onde colocar essas configurações. Normalmente no httpd.conf
ou um arquivo próprio incluído pelo Apache em tempo de carga.
* Configuração:
SetEnv LD_LIBRARY_PATH /home/emerson/projetos/terralib_cvs/terralibx/lib:/home/emerson/projetos/terralib_cvs/extensions/terramanager/lib:/home/emerson/projetos/terralib_cvs/extensions/terraOGC/lib ScriptAlias /teogc/ "/home/emerson/projetos/terralib_cvs/extensions/terraOGC/bin/" <Directory "/home/emerson/projetos/terralib_cvs/extensions/terraOGC/bin"> Options +ExecCGI Order allow,deny Allow from all </Directory>
- Troque a pasta
/home/emerson/projetos/terralib_cvs
pelo caminho onde está instalada a TerraLib - Os executáveis ficam acessíveis pelo servidor através do caminho http://nome_do_host/teogc/. Para o WMSCGI é http://nome_do_host/teogc/wmscgi/terraogcwms.cgi