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