Installation problem
Brent Pedersen
bpederse at NATURE.BERKELEY.EDU
Mon Mar 13 09:51:44 PST 2006
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