MapTools.org

[ms4w-users] problem running apps

Bart van den Eijnden bartvde@xs4all.nl
Fri, 05 Mar 2004 18:34:08 +0100
Hi,

try changing your links in the pkg.html file to mapserv_40.exe? instead of 
mapserv_40?

<a href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wms.map&">

should be:

<a 
href="/cgi-bin/mapserv_40.exe?map=/ms4w/apps/gmap/htdocs/gmap75_wms.map&">

Also verify if the Mapserver CGI you have in the cgi-bin directory is 
named "mapserv_40.exe" and not e.g. mapserv_41.exe or mapserv.exe.

Best regards,
Bart

On Fri, 5 Mar 2004 11:57:48 -0500, <Charles.Blais@agr.gouv.qc.ca> wrote:

> Hi Bart,
>
> You got it ! (for maplab). I deleted httpd_maplab.conf and now maplab is
> working. Great
>
> But for GMap application, the links below "GMap OGC WMS Server Instances"
> and "GMap OGC WFS Server Instances" are not working yet. The only thing
> working is when I choose the link below "GMap (PHP MapScript Sample
> Application)" and then select : gmap75.phtml. Notice that when I select
> gmap75.php3 the result is "Fatal error: Call to undefined function:
> ms_getversion() in C:\ms4w\apps\gmap\htdocs\gmap75.php3 on line 51"
>  Thanks
>  Charles

> Also,
>
> for GMap:
>
> I compared the files:
>
> conf file:
> Alias /gmap/ "/ms4w/apps/gmap/htdocs/"
>
> in the pkg.html file
> ******************************
> GMap OGC WMS Server Instances
> OnlineResource:
> <a href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wms.map&">
>
> GetCapabilities:
> <a
> href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wms.map&version=
> 1.1.0&request=GetCapabilities">
>
> GetMap
> <a
> href="/cgi-bin/mapserv_40?map=/msroot/apache/htdocs/gmap/htdocs/gmap75_wms.m
> ap&version=1.1.0&request=GetMap">
>
> GMap OGC WFS Server Instances
> OnlineResource:
> <a
> href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wfs.map&service=
> WFS&">40?map=/ms4w/apps/gmap/htdocs/gmap75
>
> GetCapabilities:
> <a
> href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wfs.map&version=
> 1.0.0&service=WFS&request=GetCapabilities">
>
> GetFeature
> <a
> href="/cgi-bin/mapserv_40?map=/ms4w/apps/gmap/htdocs/gmap75_wfs.map&service=
> WFS&version=1.0.0&request=GetFeature">
> ********************************
>
>
>
> I'm using the ms4w built-in Apache.
>
> Thanks
>
> Charles
>
>
> -----Message d'origine-----
> De : Bart van den Eijnden [mailto:bartvde@xs4all.nl]
> Envoyé : 5 mars 2004 10:47
> À : Blais Charles (DRCQ) (Nicolet)
> Cc : ms4w-users@lists.maptools.org
> Objet : Re: [ms4w-users] problem running apps
>
>
> Hi,
>
> can you compare the aliases in your .conf files with the links set in the
> pkg.html files.
>
> E.g. for Maplab 3.0:
>
> in the conf file:
> Alias /maplab/ "/ms4w/apps/maplab-3.0/htdocs/"
>
> in the pkg.html file
> <a href="/maplab/">
>
> It could also be that your Maplab application is interfering with your
> Maplab3 application for instance (as they use the same alias). Try
> removing the httpd_maplab.conf file and restarting Apache to see if 
> Maplab
> 3.0 then works.
>
> BTW: Are you using the ms4w built-in Apache or your own Apache server?
>
> Best regards,
> Bart
>
> On Fri, 5 Mar 2004 09:20:30 -0500, <Charles.Blais@agr.gouv.qc.ca> wrote:
>
>> Hi,
>>
>> Yes I did. The list of file in my /ms4w/httpd.d/ directory is :
>> 	- httpd_cwc2.conf
>> 	- httpd_gmap.conf
>> 	- httpd_maplab.conf
>> 	- httpd_maplab3.conf
>>
>> Thanks
>>
>> Charles
>>
>> -----Message d'origine-----
>> De : Bart van den Eijnden [mailto:bartvde@xs4all.nl]
>> Envoyé : 5 mars 2004 08:24
>> À : Blais Charles (DRCQ) (Nicolet); ms4w-users@lists.maptools.org
>> Objet : Re: [ms4w-users] problem running apps
>>
>>
>> Hi,
>>
>> did you copy the httpd.conf files for all applications into the
>> /ms4w/httpd.d/ directory and restart Apache?
>>
>> Every application has its own httpd_applicationname.conf file in the
>> /ms4w/httpd.d/ directory.
>>
>> Best regards,
>> Bart
>>
>> On Thu, 4 Mar 2004 16:56:46 -0500, <Charles.Blais@agr.gouv.qc.ca> wrote:
>>
>>> Hi,
>>>
>>> I'm using MS4W Base installer 0.8 and I installed 3 applications : CWC2
>>> 1.0.5, GMap75 and MapLab 3.0 pre1.
>>>
>>> On the main MS4W page, I see 3 applictions with some links, but these
>>> links
>>> are not working, except for CWC2 apps.
>>>
>>> What I'm doing wrong ?
>>>
>>> Thanks
>>>
>>> Charles
>>> _______________________________________________
>>> ms4w-users mailing list
>>> ms4w-users@lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/ms4w-users
>>>
>>
>>
>>
>
>
>



-- 
  


This archive was generated by Pipermail.