Re: [mapserver-users] Mapcache FCGI with IIS...
Thanks Steve! I got it! Just had to set IIS FASTCGI settings and add one variable with xml config path! Works like a charm ! On Tue, Mar 12, 2013 at 2:16 PM, Stephen Woodbridge wood...@swoodbridge.com wrote: Paul, I have always use the apache module, so this might be useless info. I guessing that you would configure it under IIS like any other FCGI module. The trick is that you need to inform it where its mapcache.xml config file is located. In apache that is passed as an envronment variable. Then you should be able to hit the configured url for the service. http://sever/mapcache.exe/demo http://sever/mapcache.exe?demo And it should respond with the demo service page if that is configured in the mapcache.xml. This might give you some ideas: http://lists.osgeo.org/**pipermail/mapserver-dev/2012-** February/012007.htmlhttp://lists.osgeo.org/pipermail/mapserver-dev/2012-February/012007.html -Steve W On 3/12/2013 12:38 PM, Paul james wrote: Thanks... I compiled mapcache with success ... mapcache_seed is working fine... But I dont know how use the FastCGI module (mapcache.exe) ... I created a FastCGI 'Module Mapping' in IIS pointing to mapcache.exe ... But how can I use that in my atual map? I didnt find any tutorial/guide how use Mapcache as FastCGI independent module... Paul On Mon, Mar 11, 2013 at 3:05 PM, Jeff McKenna jmcke...@gatewaygeomatics.com mailto:jmckenna@**gatewaygeomatics.comjmcke...@gatewaygeomatics.com wrote: On 2013-03-11 2:42 PM, Paul james wrote: Thanks Jeff... I updated my mapache (master) and now I only got 1 unresolved symbol : */Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol __imp__apr_date_parse_http4 referenced in function _fcgi_write_response cgi\mapcache.exe : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE' : return code '0x2' Stop./* *//* Do you have any idea how can I fix that? Thanks Since that function comes from the APR library (apr-util i think), maybe make sure you set all the APR declarations in your nmake.opt -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.**com/ http://www.gatewaygeomatics.com/ __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.orgmailto: mapserver-users@lists.**osgeo.org mapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users __**_ mapserver-users mailing list mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapcache FCGI with IIS...
Thanks... I compiled mapcache with success ... mapcache_seed is working fine... But I dont know how use the FastCGI module (mapcache.exe) ... I created a FastCGI 'Module Mapping' in IIS pointing to mapcache.exe ... But how can I use that in my atual map? I didnt find any tutorial/guide how use Mapcache as FastCGI independent module... Paul On Mon, Mar 11, 2013 at 3:05 PM, Jeff McKenna jmcke...@gatewaygeomatics.com wrote: On 2013-03-11 2:42 PM, Paul james wrote: Thanks Jeff... I updated my mapache (master) and now I only got 1 unresolved symbol : */Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol __imp__apr_date_parse_http4 referenced in function _fcgi_write_response cgi\mapcache.exe : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE' : return code '0x2' Stop./* *//* Do you have any idea how can I fix that? Thanks Since that function comes from the APR library (apr-util i think), maybe make sure you set all the APR declarations in your nmake.opt -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapcache FCGI with IIS...
Paul, I have always use the apache module, so this might be useless info. I guessing that you would configure it under IIS like any other FCGI module. The trick is that you need to inform it where its mapcache.xml config file is located. In apache that is passed as an envronment variable. Then you should be able to hit the configured url for the service. http://sever/mapcache.exe/demo http://sever/mapcache.exe?demo And it should respond with the demo service page if that is configured in the mapcache.xml. This might give you some ideas: http://lists.osgeo.org/pipermail/mapserver-dev/2012-February/012007.html -Steve W On 3/12/2013 12:38 PM, Paul james wrote: Thanks... I compiled mapcache with success ... mapcache_seed is working fine... But I dont know how use the FastCGI module (mapcache.exe) ... I created a FastCGI 'Module Mapping' in IIS pointing to mapcache.exe ... But how can I use that in my atual map? I didnt find any tutorial/guide how use Mapcache as FastCGI independent module... Paul On Mon, Mar 11, 2013 at 3:05 PM, Jeff McKenna jmcke...@gatewaygeomatics.com mailto:jmcke...@gatewaygeomatics.com wrote: On 2013-03-11 2:42 PM, Paul james wrote: Thanks Jeff... I updated my mapache (master) and now I only got 1 unresolved symbol : */Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol __imp__apr_date_parse_http4 referenced in function _fcgi_write_response cgi\mapcache.exe : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE' : return code '0x2' Stop./* *//* Do you have any idea how can I fix that? Thanks Since that function comes from the APR library (apr-util i think), maybe make sure you set all the APR declarations in your nmake.opt -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto:mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapcache FCGI with IIS...
I´m trying to compile mapcache with FastCGI support, but so far no success... I got that error (VS2012 compiler) : *Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol ** __imp__apr_date_parse_http@4* __imp__apr_date_parse_http@4* referenced in function _fcgi_write_response mapcache.lib(configuration_xml.obj) : error LNK2019: unresolved external symbol_mapcache_source_dummy_create referenced in function _parseSource cgi\mapcache.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\cl.EXE' : return code '0x2' Stop.* ** Any help? On Tue, Mar 5, 2013 at 4:15 PM, Paul james paulj...@gmail.com wrote: Hey... Is it possible to use Mapcache cgi with IIS? If so, is there any place where I can download de mapcache fcgi binary? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapcache FCGI with IIS...
On 2013-03-11 1:15 PM, Paul james wrote: I´m trying to compile mapcache with FastCGI support, but so far no success... I got that error (VS2012 compiler) : */Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol /**/__imp__apr_date_parse_http@4/* mailto:__imp__apr_date_parse_http@4*/referenced in function _fcgi_write_response mapcache.lib(configuration_xml.obj) : error LNK2019: unresolved external symbol_mapcache_source_dummy_create referenced in function _parseSource cgi\mapcache.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\cl.EXE' : return code '0x2' Stop./* ** Any help? I recently committed many changes to allow MapCache-master to compile on Windows (https://github.com/mapserver/mapcache/commit/bf74c798b55b1e1d602f4b78535363d79d003952), but I have not attempted FastCGI support. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapcache FCGI with IIS...
Thanks Jeff... I updated my mapache (master) and now I only got 1 unresolved symbol : *Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol __imp__apr_date_parse_http4 referenced in function _fcgi_write_response cgi\mapcache.exe : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE' : return code '0x2' Stop.* ** Do you have any idea how can I fix that? Thanks On Mon, Mar 11, 2013 at 1:19 PM, Jeff McKenna jmcke...@gatewaygeomatics.com wrote: On 2013-03-11 1:15 PM, Paul james wrote: I´m trying to compile mapcache with FastCGI support, but so far no success... I got that error (VS2012 compiler) : */Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol /**/__imp__apr_date_parse_http@4/* mailto:__imp__apr_date_parse_http@4*/referenced in function _fcgi_write_response mapcache.lib(configuration_xml.obj) : error LNK2019: unresolved external symbol_mapcache_source_dummy_create referenced in function _parseSource cgi\mapcache.exe : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\cl.EXE' : return code '0x2' Stop./* ** Any help? I recently committed many changes to allow MapCache-master to compile on Windows ( https://github.com/mapserver/mapcache/commit/bf74c798b55b1e1d602f4b78535363d79d003952 ), but I have not attempted FastCGI support. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapcache FCGI with IIS...
On 2013-03-11 2:42 PM, Paul james wrote: Thanks Jeff... I updated my mapache (master) and now I only got 1 unresolved symbol : */Creating library cgi\mapcache.lib and object cgi\mapcache.exp mapcache.obj : error LNK2019: unresolved external symbol __imp__apr_date_parse_http4 referenced in function _fcgi_write_response cgi\mapcache.exe : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE' : return code '0x2' Stop./* *//* Do you have any idea how can I fix that? Thanks Since that function comes from the APR library (apr-util i think), maybe make sure you set all the APR declarations in your nmake.opt -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Mapcache FCGI with IIS...
Hey... Is it possible to use Mapcache cgi with IIS? If so, is there any place where I can download de mapcache fcgi binary? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users