<DIV>Hi! Dear Lists,</DIV>
<DIV> </DIV>
<DIV>This is my first time installing maplab</DIV>
<DIV>I install maplab on windowsXp, apache web server, mapscript, php.</DIV>
<DIV>The mapscript test.php works well. I also access maplab folder(<A href="http://localhost/mymaplab/htdocs/index.phtml">http://localhost/mymaplab/htdocs/index.phtml</A>). The problem is that when read the index.phtml, it only show the code .</DIV>
<DIV>In httpd, I set: </DIV>
<DIV><IfModule mod_dir.c><BR> DirectoryIndex index.html index.html.var index.phtml default.phtml default.html<BR></IfModule></DIV>
<DIV>Alias /mymaplab/ "C:/maplab/maplab-2.1-rc3/"<BR> <Directory "C:/maplab/maplab-2.1-rc3/"><BR> Options Indexes MultiViews<BR> AllowOverride None<BR> Order allow,deny<BR> Allow from all<BR> </Directory></DIV>
<DIV>why can not read index.phtml?</DIV>
<DIV> </DIV>
<DIV>looking forward for any suggestion and advice</DIV>
<DIV> </DIV>
<DIV>Thank you very much!!</DIV>
<DIV> </DIV>
<DIV>Charlie</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><?php<BR>/**<BR> * main index frameset for maplab<BR> *<BR> * @project MapLab<BR> * @revision $Id: index.phtml,v 1.6 2003/02/13 19:47:54 sacha Exp $<BR> * @purpose main index frameset for maplab<BR> * @author Paul Spencer (spencer@dmsolutions.ca)<BR> * @copyright<BR> * <b>Copyright (c) 2001, DM Solutions Group Inc.</b><BR> * Permission is hereby granted, free of charge, to any person obtaining a<BR> * copy of this software and associated documentation files (the "Software"),<BR> * to deal in the Software without restriction, including without limitation<BR> * the rights to use, copy, modify, merge, publish, distribute, sublicense,<BR> * and/or sell copies of the Software, and to permit persons to whom the<BR> * Software is furnished to do so, subject to the following conditions:<BR> *<BR> * The above copyright notice and this permission notice shall be included<BR> * in
all copies or substantial portions of the Software.<BR> *<BR> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<BR> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<BR> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<BR> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<BR> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING<BR> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER<BR> * DEALINGS IN THE SOFTWARE.<BR> */<BR><BR>include_once( "./common/session/session.php" );<BR>installSessionDirectoryHandler();<BR><BR>$sess_name = "sid";<BR><BR>initializeSession();<BR>........</DIV>
<DIV> </DIV>
<DIV> </DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>