[maplab-users] Maplab Install on Redhat

Zak James zak-ms at hoppsan.org
Thu Aug 26 10:26:22 EDT 2004


Mark,

That looks ok.

Can you verify that your apache server can automatically pick up other  
index.phtml files (from something other than maplab - maybe just make a  
simple test index file) and interpret them as php?

I still suspect a problem with the apache configuration.

zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca


On Aug 26, 2004, at 8:04 AM, Mark M wrote:

> Hi Zak,
>
> This is from mapedit.xml;
>
>     <include-context>
>         <context-name>MapLab</context-name>
>          
> <context-file>/var/www/html/maplab-2.2/config/maplab.xml</context- 
> file>
>         <description> Full path to maplab.xml file, include maplab.xml  
> in the path.</description>
>     </include-context>
>
>     <context-param>
>       <param-name>configuration_file</param-name>
>       <param-value>mapserv_40.xml</param-value>
>       <description> The configuration file that defines the structure  
> of a map file.  RECOMMENDED FOR ADVANCED USERS ONLY.</description>
>     </context-param>
>
> I have made no changes to the mapserv_40.xml file.
> Mark
>
> ----- Original Message -----
> From: Zak James <zak-ms at hoppsan.org>
> Date: Tue, 24 Aug 2004 16:22:53 -0400
> To: "Mark M" <fosters4all at beer.com>
> Subject: Re: [maplab-users] Maplab Install on Redhat
>
>> Mark,
>>
>> What setting do you have in mapedit's config for your
>> 'configuration_file' parameter?
>>
>> zak
>> --
>> Zak James
>> Applications and Software Development
>> DM Solutions Group Inc.
>> http://www.dmsolutions.ca
>>
>>
>> On Aug 24, 2004, at 12:21 PM, Mark M wrote:
>>
>>> Thanks for the suggestions but I've seen no resolution (or change)
>>> yet. I have made one other observation. In MapEdit when I use the  
>>> file
>>> menu option and choose 'New Map' I get the error however the file is
>>> created and it has two lines of contents being;
>>>
>>> MAP
>>> END
>>>
>>> Oh and the error appears in the Object Properties frame under the
>>> large font heading 'Not Found'.
>>>
>>> Any additional thoughts?
>>>
>>> Mark
>>>
>>> ----- Original Message -----
>>> From: Zak James <zak-ms at hoppsan.org>
>>> Date: Tue, 24 Aug 2004 09:26:00 -0400
>>> To: Hot Line <maplab-users at lists.maptools.org>
>>> Subject: Re: [maplab-users] Maplab Install on Redhat
>>>
>>>> Mark,
>>>>
>>>> Make sure you have a block like this in your apache configuration
>>>> file:
>>>>
>>>> <IfModule mod_dir.c>
>>>>      DirectoryIndex index.html index.phtml
>>>> </IfModule>
>>>>
>>>> and ensure that mod_dir is available.
>>>>
>>>> zak
>>>> --
>>>> Zak James
>>>> Applications and Software Development
>>>> DM Solutions Group Inc.
>>>> http://www.dmsolutions.ca
>>>>
>>>>
>>>> On Aug 24, 2004, at 8:43 AM, Mark M wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to get Maplab working for the first time. After having
>>>>> installed it (and all the other relevant software) I access the
>>>>> index.phtml file and try to open a file but I get the error  
>>>>> message;
>>>>>
>>>>>      The requested URL /maplab-2.2/htdocs/mapedit/< was not found
>>>>> on this server.
>>>>>
>>>>> Yet I can open mapedit directly by using;
>>>>>
>>>>> http://127.0.0.1/maplab-2.2/htdocs/mapedit/index.phtml
>>>>>
>>>>>
>>>>> However even when I try to open a map file from mapedit I get the
>>>>> same error message.
>>>>>
>>>>> Fyi, in the mapedit config file I have;
>>>>> <context-file>/var/www/html/maplab-2.2/config/maplab.xml</context-
>>>>> file>
>>>>>
>>>>>
>>>>> Any idea what is causing this problem?????????
>>>>>
>>>>> Thanks!
>>>>> Mark
>>>>>
>>>>> PS I also get the error message;
>>>>> Fatal error: Call to a member function on a non-object in
>>>>> /var/www/html/maplab-2.2/htdocs/mapedit/error.phtml on line 47
>>>>>
>>>>> I'm using;
>>>>> Redhat 8.0
>>>>> Maplab 2.2
>>>>> Mapserver 4.2.2
>>>>> Postgresql 7.2.4
>>>>> Postgis 0.8.2
>>>>> PHP 4.2.2
>>>>> Proj 4.4.8
>>>>> -- 
>>>>> _______________________________________________
>>>>> Get your free email from http://webmail.beer.com
>>>>>
>>>>> _______________________________________________
>>>>> Maplab-users mailing list
>>>>> Maplab-users at lists.maptools.org
>>>>> http://lists.maptools.org/mailman/listinfo/maplab-users
>>>>>
>>>>
>>>> _______________________________________________
>>>> Maplab-users mailing list
>>>> Maplab-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/maplab-users
>>>
>>>
>>>
>>> 42
>>>
>>> -- 
>>> _______________________________________________
>>> Get your free email from http://webmail.beer.com
>>>
>>> _______________________________________________
>>> Maplab-users mailing list
>>> Maplab-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/maplab-users
>>>
>>
>
>
>
> 42
>
> -- 
> _______________________________________________
> Get your free email from http://webmail.beer.com
>
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
>



More information about the Maplab-users mailing list