[mapserver-users] RE: being prompted to download mapserv file (no .exe) when trying to initialize

Pericles S. Nacionales pnaciona at gis.umn.edu
Tue Dec 18 20:30:26 EST 2001


Ed,

Well, I promised myself not to touch IIS again but you got me curious and
sure enough, there's that setting (which I've forgotten about but was
alluding to in the post).  So, I stand corrected.

Thanks.
-Perry

> -----Original Message-----
> From: Ed McNierney [mailto:ed at topozone.com]
> Sent: Tuesday, December 18, 2001 6:32 PM
> To: Pericles S. Nacionales; Mode Matteo
> Cc: Mapserver-Users at Lists
> Subject: RE: [mapserver-users] RE: being prompted to download mapserv
> file (no .exe) when trying to initialize
>
>
> Perry et al. -
>
> I don't think that's likely to be the problem, and might make things
> worse.  The symptom seems as if the /cgi-bin directory has (as a
> security precaution <g>) Execute permission disabled by default.  In
> other words, users can only Read documents there, not Execute them, and
> since the user is trying to Read a document that can't be rendered by
> the browser (an .EXE file, that is) the client tries to download it.
>
> In the Internet Services Manager, right-click on the cgi-bin virtual
> directory folder, and select Properties.  Make sure the Execute
> Permissions drop-down (near the bottom on the Virtual Directory tab)
> reads "Scripts and Executables".  Also, from the Windows Explorer, check
> the Security tab on that folder and make sure the IUSR_<machinename>
> anonymous user account has "Read and Execute" permission.
>
> 	- Ed
>
> Ed McNierney
> Chief Mapmaker
> TopoZone.com
>
>
> -----Original Message-----
> From: Pericles S. Nacionales [mailto:pnaciona at gis.umn.edu]
> Sent: Tuesday, December 18, 2001 6:23 PM
> To: Mode Matteo
> Cc: Mapserver-Users at Lists
> Subject: [mapserver-users] RE: being prompted to download mapserv file
> (no .exe) when trying to initialize
>
>
>
> I haven't used IIS in quite sometime due to security issues.  One of the
> things Microsoft probably did to fix these issues is to not allow .EXE
> files
> to execute from cgi-bin (or scripts) directory.  Try replacing the
> extension
> from .exe to .cgi and call "cgi-bin/mapserv.cgi" instead of
> "/cgi-bin/mapserv.exe".
>
> I'm sure you can configure your web server to override this setting...
> As
> an alternative web server, I would recommend Apache.  Unless, of course,
> you
> have contents that depend on IIS stuff.
>
> Good luck!
>
> Perry Nacionales
> pnaciona at gis.umn.edu
>
>
>
>
> > -----Original Message-----
> > From: teb [mailto:teb at mallit.fr.umn.edu]
> > Sent: Tuesday, December 18, 2001 3:15 PM
> > To: pnaciona
> > Subject: being prompted to download mapserv file (no .exe) when trying
> > to initialize
> >
> >
> >
> > ------------- Begin Forwarded Message -------------
> >
> > From: Mode Matteo <Matteo.Mode at rhul.ac.uk>
> > To: "'mapserver-info at lists.gis.umn.edu'"
> > <mapserver-info at lists.gis.umn.edu>
> > Subject: being prompted to download mapserv file (no .exe) when
> > trying to
> > initialize
> > Date: Tue, 18 Dec 2001 16:48:51 -0000
> > MIME-Version: 1.0
> >
> > Hello,
> >
> > I am currently setting up Mapserver3.4 on Windows2000 IIS 5.0.
> > My problem is the following: when I click on Initialize -
> > htpp://host/ms_demo/demo_init.html - I am prompted to save and
> > download the
> > mapserv file (without extension).
> > As suggested in the existing mailing list documentation, I checked
> that I
> > add the extension ".exe" where needed, but no success.
> > Any ideas?
> > Any help will be appreciated,
> > Happy Christmas
> >
> > Matteo Mode'
> >
> > ------------- End Forwarded Message -------------
> >
> >
>




More information about the mapserver-users mailing list