|
||||
[Chameleon] Chameleon with Windows 2k and IISPaul Spencer spencer@dmsolutions.caWed, 10 Dec 2003 11:14:54 -0500
|
many thanks Nicolas. Cheers, Paul nicolas.fortin@ec.gc.ca wrote: > It's done: > http://www.maptools.org/chameleon/wiki/ChameleonIISHowToInstall > > I hope this will work for other Win2k/IIS users. > In fact, I have to install it on one of our internal server soon so I'll see > by myself. > > Nicolas > > > -----Message d'origine----- > De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] > Envoyé : Wednesday, December 10, 2003 9:31 AM > À : spencer@dmsolutions.ca > Cc : chameleon@lists.maptools.org > Objet : RE : RE : [Chameleon] Chameleon with Windows 2k and IIS > > > > Hi Paul, > > I'll make a basic HowTo for the future windows2k/IIS chameleon users asap. > > Nicolas > > -----Message d'origine----- > De : Paul Spencer [mailto:pagameba@magma.ca] > Envoyé : Tuesday, December 09, 2003 8:14 PM > Cc : chameleon@lists.maptools.org > Objet : Re: RE : [Chameleon] Chameleon with Windows 2k and IIS > > > Nicholas/Bart, > > this is great stuff. It would be really great if you could add your > experiences (esp the IIS stuff) to the chameleon wiki, perhaps in the > FAQ page? The wiki (for those who have forgotten already ;)) is > available at: > > http://www.maptools.org/chameleon/wiki > > (also from the Docs page on the chameleon site) > > Cheers, > > Paul > > nicolas.fortin@ec.gc.ca wrote: > > >>Hi Bart, >> >>Thx for your fast answer! >> >>Unfortunately, I have to work with IIS only but I got it to work now! >> >>The /tmp was refering to the session.save_path in the php.ini file I >>comment all the (...) in the browscap.ini I change some path in the >>cwc2.xml >> >>And now the demo works :) >> >>Nicolas >> >>-----Message d'origine----- >>De : bartvde@xs4all.nl [mailto:bartvde@xs4all.nl] >>Envoyé : Tuesday, December 09, 2003 10:33 AM >>À : nicolas.fortin@ec.gc.ca >>Cc : chameleon@lists.maptools.org >>Objet : Re: [Chameleon] Chameleon with Windows 2k and IIS >> >> >>Hi Nicolas, >> >>I can give some brief answers, but for more elaborate ones you will >>need input from the guys at DmSolutions. >> >>I can tell you what needs to be done in Apache, and perhaps you are >>able to translate this to IIS. >> >>---- >>In httpd.conf from Apache: >> >>Alias /ms_tmp/ /ms4w/tmp/ms_tmp/ >> >>SetEnv PROJ_LIB /ms4w/proj/nad/ >> >>For PHP Chameleon "needs" the following: >> >>session.save_path = /ms4w/tmp >>---- >> >>Is there a specific reason why you are using the 1.0.4 version? The >>1.0 version will be deprecated in time and the 1.1 version is the one >>to go with. Although it is alpha, the core is pretty stable. >> >>I would recommend installing MS4W (with Apache and PHP preconfigured), >>then see how everything functions, and map this to IIS. >> >>-MS4W >>-latest Chameleon 1.1 alpha as an MS4W package >>-Chameleon sample application >> >>With regard to the Mapscript binaries with Oracle. The binaries for >>Mapserver which have Oracle Spatial support are built by somebody at >>the University of Minnesota. The PHP Mapscript are built by >>DmSolutions, and they don't provide one with Oracle Spatial support as >>far as I know. >> >>But you can always use the principle of Cascading WMS to have the >>mapserv.exe serve the Oracle Spatial data. >> >>Hope this is of some help. >> >>Best regards, >>Bart >> >> >> >>>Hi list, >>> >>>I'm using Mapserver for some time now and want to add Chameleon to get >>>more functionnality. I'm using Windows 2000 SP4 with IIS. >>> >>>Unfortunately, there's no doc about installing chameleon on Windows >>>platform with IIS with all steps. >>> >>>First I manually installed PHP in C:\PHP\ successfully. >>>Then I installed the PHP Mapscript extensions. I tested with <?php >>>phpinfo();?> and saw the PHP Mapscript extensions. Last I installed >>>Chameleon 1.0.4 in C:\cwc2\ and made a virtual directory from IIS that >>>point to C:\cwc2\htdocs I made the C:\cwc2 dir readable-writable by >>>IUSR_ I made some change to the C:\cwc2\config\cwc2.xml file but I >>>don't know if the paths in there are absolute or relative and if >>>relative...to what? >>> >>>If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html >>><http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html&CONTEXT=cwc2/g >>>map_co >>>ntext.xml> &CONTEXT=cwc2/gmap_context.xml >>>I got: >>>FATAL ERROR: Session save path (/tmp) doesn't exist or is not writable >>>Notice: Undefined index: gszSessId in >>>C:\cwc2\htdocs\common\session\session.php on line 135 >>>PHP: Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 >>>PHP >>>Notice: Undefined index: gszSessId in >>>C:\cwc2\htdocs\common\session\session.php on line 135 >>> >>>I have a writable tmp dir at the root of IIS. >>>Line 1167-1170 of browscap.ini: >>> [Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)] >>> parent=IE 5.5 >>> platform=Windows 2000 (T312461) >>> beta=False >>> >>> >>>1) What do I have to do to set up Chameleon correctly for Windows/IIS >>>? >>>2) I used Mapserver with Oracle 9.2. There's no INPUT=ORACLESPATIAL >>>for the version of Mapserver Mapscript use. Do Mapscript has a >>>precompiled version >>>of Mapserver or it will use the version I already have? >>> >>>Thx a lot, >>> >>>Nicolas Fortin >>>Mathématicien, Programmeur, Analyste de données >>>SMC-Québec Hydrologie, Environnement Canada >>>1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 >>>(418)648-2516 >>>nicolas.fortin@ec.gc.ca <mailto:nicolas.fortin@ec.gc.ca >>><mailto:nicolas.fortin@ec.gc.ca> > >>> >>> >>> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| -----------------------------------------------------------------
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |