<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>ah... ok, it works! </FONT></DIV>
<DIV><FONT face=Arial size=2>Now I tried with FireFox with ".exe" and it works. 
There is something wrong in my IE; if I put ".exe" with my IE, it tries to 
download a file instead of executing...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank for help!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Francesco</FONT></DIV></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=rodrigomlg@GMAIL.COM href="mailto:rodrigomlg@GMAIL.COM">Rodrigo 
  Martín LÓPEZ GREGORIO</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=MAPSERVER-USERS@LISTS.UMN.EDU 
  href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 06, 2007 2:30 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] Can't 
  execute mapserv.exe from Apache 2 cgi-bin folder</DIV>
  <DIV><BR></DIV>you need to include the extension of the mapserver cgi file... 
  you need to put the ".exe" at the end of your url and it will work (I already 
  try it ;) ):<BR><BR><A 
  href="http://213.133.227.245/cgi-bin/mapserv.exe">http://213.133.227.245/cgi-bin/mapserv.exe</A><BR><BR>Rodrigo.<BR><BR>
  <DIV><SPAN class=gmail_quote>On 9/6/07, <B class=gmail_sendername>Francesco 
  Sozzi</B> &lt;<A href="mailto:fsozzi@intercad.ch">fsozzi@intercad.ch</A> &gt; 
  wrote:</SPAN>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2>Hi Rodrigo,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks for help.</FONT></DIV>
    <DIV><FONT face=Arial size=2>Unfortunatelly I already have the following 
    line:</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>ScriptAlias /cgi-bin/ "C:/Programmi/Apache 
    Group/Apache2/cgi-bin/"</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>And if I&nbsp;try to run <A 
    onclick="return top.js.OpenExtLink(window,event,this)" 
    href="http://213.133.227.245/cgi-bin/mapserv" 
    target=_blank>http://213.133.227.245/cgi-bin/mapserv</A>&nbsp;I have a 404 
    error (file not found).</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>So, I think there is something else 
    wrong...</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I attacched my configuration file.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Best regards</FONT></DIV><SPAN class=sg>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Francesco</FONT></DIV></SPAN>
    <DIV><SPAN class=e id=q_114dac331efcecc3_2>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B> 
      <A title=rodrigomlg@GMAIL.COM 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:rodrigomlg@GMAIL.COM" target=_blank>Rodrigo Martín LÓPEZ 
      GREGORIO</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
      <A title=MAPSERVER-USERS@LISTS.UMN.EDU 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" 
      target=_blank>MAPSERVER-USERS@LISTS.UMN.EDU</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Thursday, September 06, 2007 1:24 PM</DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
      Re: [UMN_MAPSERVER-USERS] Can't execute mapserv.exe from Apache 2 cgi-bin 
      folder</DIV>
      <DIV><BR></DIV>Hi Francesco<BR><BR>You also need to have a Script Alias in 
      your httpd.conf file like this:<BR><BR>ScriptAlias /cgi-bin/ 
      "/ms4w/Apache/cgi-bin/"<BR><BR>and then (after restarting apache) you can 
      try to access mapserver like: <BR><BR><A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="http://yourservername:port/cgi-bin/mapserv.exe" 
      target=_blank>http://yourservername:port/cgi-bin/mapserv.exe</A><BR><SPAN><BR>Rodrigo.</SPAN> 
      <BR><BR>
      <DIV><SPAN class=gmail_quote>On 9/6/07, <B 
      class=gmail_sendername>Francesco Sozzi</B> &lt;<A 
      onclick="return top.js.OpenExtLink(window,event,this)" 
      href="mailto:fsozzi@intercad.ch" target=_blank>fsozzi@intercad.ch</A>&gt; 
      wrote:</SPAN> 
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
        <DIV bgcolor="#ffffff">
        <DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I'm trying to let Mapserver provide as WMS 
        server, but I have an Apache configuration problem.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I've put mapserv.exe into 
        C:/Programmi/Apache Group/Apache2/cgi-bin.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>But I can't execute from browser (it is as 
        it does not see/execute the file).</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I have no problem in Apache 1.x but I have 
        problem with a standard installation of Apache 2 on Windows 
        XP.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>In my httpd.conf I have this cgi-bin folder 
        definition:</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>&lt;Directory "C:/Programmi/Apache 
        Group/Apache2/cgi-bin"&gt;<BR>&nbsp;&nbsp;&nbsp; AllowOverride 
        None<BR>&nbsp;&nbsp;&nbsp; Options None<BR>&nbsp;&nbsp;&nbsp; Order 
        allow,deny<BR>&nbsp;&nbsp;&nbsp; Allow from 
        all<BR>&lt;/Directory&gt;</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>How can I set execution 
        permission?...</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial 
      size=2>Francesco</FONT></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></SPAN></DIV></DIV><BR 
    clear=all></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>