Installation problem

Dave McCormick mac at MACKRACKIT.COM
Mon Mar 13 21:54:36 EST 2006


Tried it and it still does not work.  Even told apache to listen to port
8080, no good.  Still recieving "is of type application/octet-stream".

Thanks

On Tue, 14 Mar 2006 12:35:22 +1100, Russ Bradford <Russ.Bradford at CSIRO.AU>
wrote:

>Sorry, just figured it out.
>
>http://localhost:8080/cgi-bin/mapserv.exe should get you started.
>
>-----Original Message-----
>From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
>Behalf Of Dave McCormick
>Sent: Tuesday, 14 March 2006 11:41 AM
>To: MAPSERVER-USERS at LISTS.UMN.EDU
>Subject: Re: [UMN_MAPSERVER-USERS] Installation problem
>
>
>I have the complete tree /gis/cgi-bin/mapserv chown'ed by apache and
>mapserv is chmond +x.  Yes, I have another script "test.cgi" in the same
>dir and it works fine.
>
>A stupid question, if "mapserv" is a cgi, why does it show as an
>executable???  I normally program "pic chips".
>
>Thank you.
>
>On Mon, 13 Mar 2006 09:51:44 -0800, Brent Pedersen
><bpederse at NATURE.BERKELEY.EDU> wrote:
>
>>hi,
>>i would check that the mapserv is chown'ed by  you:apache    and
>>chmod +x it
>>
>>also check your apache conf file to make sure that ScriptAlias points
>>to the cgi-bin.
>>
>>your result seems like apache isn't recognizing mapserv as a cgi
>>script. do you have any other scripts in that directory? do they work?
>>
>>-brent
>>
>>On Mar 13, 2006, at 8:28 AM, Doyon, Jean-Francois wrote:
>>
>>> "mapserv" is the CGI, therefore the PHP configuration has no bearing
>>> on it.
>>>
>>> Look in apache's "error_log" to see if anything shows up when you
>>> make a request to the CGI?
>>>
>>> Normally, you should see the same message in your browser that you
>>> would see from the command line (i.e. "QUERY_STRING not set ...").
>>>
>>> Since you don't presumably some error occurs, and hopefully it shows
>>> up in apache's error log file.
>>>
>>> J.F.
>>>
>>> -----Original Message-----
>>> From: UMN MapServer Users List [mailto:MAPSERVER-
>>> USERS at LISTS.UMN.EDU] On Behalf Of Dave McCormick
>>> Sent: March 13, 2006 11:14 AM
>>> To: MAPSERVER-USERS at LISTS.UMN.EDU
>>> Subject: [UMN_MAPSERVER-USERS] Installation problem
>>>
>>> Hi,
>>>
>>> I am using Mandrake 10, Apache 2.2 , PHP 4.4.2.  Following the
>>> instructions from here
>>> http://ms.gis.umn.edu/docs/howto/compiling_on_unix and here
>>> http://mapserver.gis.umn.edu/docs/howto/verboselinuxinstall.
>>>
>>> When I get to the end and test "./mapserv" the correct message
>>> returns.
>>>
>>> When I test on a browser "http://yourhostname.com/cgi-bin/mapserv"
>>> I recieve
>>> "download program as file?".
>>>
>>> I imagine the proplem is in my php setup, but after four times of
>>> setting things up (reinstall apache, php, etc, I still have the same
>>> problem.
>>>
>>> Any ideas as to what I am doing wrong.
>>>
>>> Thanh you,
>>> Dave
>>>



More information about the mapserver-users mailing list