MapTools.org

[Chameleon] Chameleon with Windows 2k and IIS

nicolas.fortin@ec.gc.ca nicolas.fortin@ec.gc.ca
Tue, 9 Dec 2003 09:34:35 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3BE61.916DC060
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi list,
=20
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.
=20
Unfortunately, there's no doc about installing chameleon on Windows =
platform
with IIS with all steps.
=20
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?
=20
If I try this : =
http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html
<http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html&CONTEXT=3Dcwc2=
/gmap_co
ntext.xml> &CONTEXT=3Dcwc2/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=20
=20
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=3DIE 5.5
  platform=3DWindows 2000 (T312461)
  beta=3DFalse

=20
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=3DORACLESPATIAL =
for the
version of Mapserver Mapscript use.  Do Mapscript has a precompiled =
version
of Mapserver or it will use the version I already have?
=20
Thx a lot,

Nicolas Fortin=20
Math=E9maticien, Programmeur, Analyste de donn=E9es=20
SMC-Qu=E9bec Hydrologie, Environnement Canada=20
1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20
(418)648-2516=20
nicolas.fortin@ec.gc.ca <mailto:nicolas.fortin@ec.gc.ca
<mailto:nicolas.fortin@ec.gc.ca> >=20

=20

------_=_NextPart_001_01C3BE61.916DC060
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial size=3D2>Hi=20
list,</FONT></SPAN></DIV>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial size=3D2>I'm =
using Mapserver=20
for some time now and want to add Chameleon to get more =
functionnality.&nbsp;=20
I'm using Windows 2000 SP4 with IIS.</FONT></SPAN></DIV>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial =
size=3D2>Unfortunately,=20
there's no doc about installing chameleon on Windows platform with IIS =
with all=20
steps.</FONT></SPAN></DIV>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial size=3D2>First =
I manually=20
installed PHP in C:\PHP\ successfully.</FONT></SPAN></DIV>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial size=3D2>Then =
I installed the=20
PHP Mapscript extensions. I tested with &lt;?php phpinfo();?&gt; and =
saw the PHP=20
Mapscript extensions.</FONT></SPAN></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D620201214-09122003>Last&nbsp;I=20
installed&nbsp;Chameleon 1.0.4 in C:\cwc2\</SPAN>&nbsp;<SPAN=20
class=3D620201214-09122003>and made a virtual directory from IIS that =
point to=20
C:\cwc2\htdocs</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D620201214-09122003>I made the=20
C:\cwc2 dir readable-writable by IUSR_</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D620201214-09122003>I made some=20
change to the C:\cwc2\config\cwc2.xml file but I don't know if the =
paths in=20
there are absolute or relative and if relative...to=20
what?</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN=20
class=3D620201214-09122003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D620201214-09122003>If I try this=20
: <A=20
href=3D"http://localhost/cwc2/cwc2.php?TEMPLATE=3Dcwc2/demo.html&amp;CON=
TEXT=3Dcwc2/gmap_context.xml">http://localhost/cwc2/cwc2.php?TEMPLATE=3D=
cwc2/demo.html&amp;CONTEXT=3Dcwc2/gmap_context.xml</A></SPAN></FONT></FO=
NT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D620201214-09122003>I=20
got:</SPAN></FONT></FONT></DIV>
<DIV><FONT><SPAN class=3D620201214-09122003><FONT color=3D#dd0000>FATAL =
ERROR:=20
Session save path (/tmp) doesn't exist or is not=20
writable<BR></FONT><B>Notice</B>: Undefined index: gszSessId in=20
<B>C:\cwc2\htdocs\common\session\session.php</B> on line =
<B>135</B><BR>PHP:=20
Error parsing C:\winnt\system32\inetsrv\browscap.ini on line 1169 PHP =
Notice:=20
Undefined index: gszSessId in C:\cwc2\htdocs\common\session\session.php =
on line=20
135 </SPAN></FONT></DIV>
<DIV><FONT><SPAN class=3D620201214-09122003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D620201214-09122003>I =
have a writable=20
tmp dir at the root of IIS.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D620201214-09122003>Line =
1167-1170 of=20
browscap.ini:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D620201214-09122003>&nbsp; [Mozilla/4.0=20
(compatible; MSIE 5.5; Windows NT 5.0; T312461)]<BR>&nbsp; parent=3DIE=20
5.5<BR>&nbsp; platform=3DWindows 2000 (T312461)<BR>&nbsp;=20
beta=3DFalse<BR></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D620201214-09122003>&nbsp;</DIV></SPAN></FONT>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D620201214-09122003>1) =
What do I have to=20
do to set up Chameleon correctly for Windows/IIS ?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D620201214-09122003>2) I =
used Mapserver=20
with Oracle 9.2.&nbsp; There's no INPUT=3DORACLESPATIAL for the version =
of=20
Mapserver Mapscript use.&nbsp; Do Mapscript has a precompiled version =
of=20
Mapserver or it will use the version I already =
have?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D620201214-09122003>&nbsp;</DIV></SPAN></FONT>
<DIV><SPAN class=3D620201214-09122003><FONT face=3DArial size=3D2>Thx a =

lot,</FONT></SPAN></DIV>
<P><B><I><FONT face=3D"Bookman Old Style" color=3D#000080 =
size=3D2>Nicolas=20
Fortin</FONT></I></B><I></I> <BR><B><FONT face=3DArial =
size=3D1>Math=E9maticien,=20
Programmeur, Analyste de donn=E9es</FONT></B> <BR><B><FONT face=3DArial =

size=3D1>SMC-Qu=E9bec Hydrologie, Environnement Canada</FONT></B> =
<BR><B><FONT=20
face=3DArial size=3D1>1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V =
4H5</FONT></B>=20
<BR><B><FONT face=3DArial size=3D1>(418)648-2516</FONT></B> =
<BR><U><FONT face=3DArial=20
color=3D#0000ff size=3D1>nicolas.fortin@ec.gc.ca &lt;<A=20
href=3D"mailto:nicolas.fortin@ec.gc.ca">mailto:nicolas.fortin@ec.gc.ca</=
A>&gt;</FONT></U>=20
</P>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C3BE61.916DC060--


This archive was generated by Pipermail.