[Chameleon] Chameleon with Windows 2k and IIS
Wed, 10 Dec 2003 09:30:49 -0500
Hi Paul,

I'll make a basic HowTo for the future windows2k/IIS chameleon users asap.


-----Message d'origine-----
De : Paul Spencer [] 
Envoyé : Tuesday, December 09, 2003 8:14 PM
Cc :
Objet : Re: RE : [Chameleon] Chameleon with Windows 2k and IIS


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:

(also from the Docs page on the chameleon site)


Paul 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 : []
> Envoyé : Tuesday, December 09, 2003 10:33 AM
> À :
> Cc :
> 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 
>> what?
>>If I try this : http://localhost/cwc2/cwc2.php?TEMPLATE=cwc2/demo.html
>>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 
>>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
>>version of Mapserver Mapscript use.  Do Mapscript has a precompiled
>>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
>> <
>><> >
> _______________________________________________
> Chameleon mailing list

|Paul Spencer                     |
|Applications & Software Development                              |
|DM Solutions Group Inc       |

Chameleon mailing list

This archive was generated by Pipermail.